tests/binary.min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
'test load 'test import "binary" describe (2 3 bitand 2 ==) assert (123 bitnot -124 ==) assert (2 3 bitor 3 ==) assert (2 3 bitxor 1 ==) assert (2 3 shl 16 ==) assert (16 3 shr 2 ==) assert report clear-stack