cryptol/tests/parser/unary.cry

5 lines
144 B
Plaintext
Raw Normal View History

2015-06-04 03:50:22 +03:00
// test that the unary operators parse correctly
test1 = (~ (5 : [8]) + 2) == (~ (5 : [8])) + 2
test2 = (- (5 : [8]) + 2) == (- (5 : [8])) + 2