(self)
| 28 | is_true(case()) |
| 29 | |
| 30 | def test_sorting(self): |
| 31 | eq_( |
| 32 | sorted([BitString("110"), BitString("010"), "111", "101"]), |
| 33 | [BitString("010"), "101", BitString("110"), "111"], |
| 34 | ) |
| 35 | |
| 36 | def test_str_conversion(self): |
| 37 | x = BitString("1110111") |