3 Commits

Author SHA1 Message Date
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
6464327e6f tests: add more thorough unit test for SparseArray::clear_range 2019-04-14 17:59:55 +02:00
Epihaius
83723d38a5 tests: Create test_sparsearray.py
Closes #590
2019-04-14 17:59:29 +02:00