Files
asarium 11483057e5 Add unit tests
This also fixes the toggleBit function which was broken until now.
2016-10-13 12:22:47 +02:00

4 lines
74 B
Lua

assert(bit.checkBit(0xF, 0) == true)
assert(bit.checkBit(0, 0) == false)