Files
fs2open.github.com/test/test_data/scripting/bitops/setBit/data/scripts/test.lua
T
2021-06-15 19:53:28 -04:00

5 lines
95 B
Lua

assert(bit.setBit(0xE, 0) == 0xF)
assert(bit.setBit(0, 0) == 1)
assert(bit.setBit(1, 0) == 1)