Commit Graph

3 Commits

Author SHA1 Message Date
rdb ba010168cf tests: more improvements to test suite coverage 2020-04-25 14:44:43 +02:00
rdb 9d8c523dfa putil: Assorted improvements to BitArray, SparseArray, *BitMask*:
* Support converting BitMask types to int
* BitArray constructor accepts a Python long of arbitrary size
* DoubleBitMask (and QuadBitMask, by extension) supports Python long in constructor
* Support for pickling (except DoubleBitMask)
* All of them now properly define __bool__()
* More unit tests

Fixes #886
2020-04-01 20:31:16 +02:00
rdb 4f55e26e61 tests: add tests for BitMask*.is_all_on() 2018-05-30 23:06:47 +02:00