cryptol/tests/parser/unary.cry
2015-06-03 17:50:22 -07:00

5 lines
144 B
Plaintext

// test that the unary operators parse correctly
test1 = (~ (5 : [8]) + 2) == (~ (5 : [8])) + 2
test2 = (- (5 : [8]) + 2) == (- (5 : [8])) + 2