lib: test for bitAnd, bitOr, bitXor

This commit is contained in:
volth 2018-06-02 21:13:43 +00:00 committed by GitHub
parent 0addac3b0a
commit 078b9b4c2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,21 @@ runTests {
expected = true;
};
testBitAnd = {
expr = (bitAnd 3 10);
expected = 2;
};
testBitOr = {
expr = (bitOr 3 10);
expected = 11;
};
testBitXor = {
expr = (bitXor 3 10);
expected = 9;
};
# STRINGS
testConcatMapStrings = {