mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
tests: add tests for BitMask*.is_all_on()
This commit is contained in:
parent
aa1b06f132
commit
4f55e26e61
10
tests/putil/test_bitmask.py
Normal file
10
tests/putil/test_bitmask.py
Normal file
@ -0,0 +1,10 @@
|
||||
from panda3d import core
|
||||
|
||||
|
||||
def test_bitmask_allon():
|
||||
assert core.BitMask16.all_on().is_all_on()
|
||||
assert core.BitMask32.all_on().is_all_on()
|
||||
assert core.BitMask64.all_on().is_all_on()
|
||||
assert core.DoubleBitMaskNative.all_on().is_all_on()
|
||||
assert core.QuadBitMaskNative.all_on().is_all_on()
|
||||
assert core.BitArray.all_on().is_all_on()
|
Loading…
x
Reference in New Issue
Block a user