added unit test for `binary` module
drkameleon yaniszaf@gmail.com
Thu, 21 Jan 2021 13:55:49 +0100
2 files changed,
16 insertions(+),
0 deletions(-)
M
tests/all.min
→
tests/all.min
@@ -19,6 +19,7 @@ 'sys load
'time load 'dstore load 'fs load +'binary load 'crypto load 'math load 'http load
A
tests/binary.min
@@ -0,0 +1,15 @@
+'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 + + report + clear-stack