cryptol/tests/regression/check06.cry
2014-04-17 15:34:25 -07:00

6 lines
181 B
Plaintext

onetwos = [1] # twoones
twoones = [2] # onetwos
onesytwosy = [ [one, two] | one <- onetwos | two <- twoones ]
check6 = onesytwosy @@ [0 .. 3] == [ [1, 2], [2, 1], [1, 2], [2, 1] ]