Skip to content

Commit d13c5dd

Browse files
committed
Added test for Bit [skip ci]
1 parent 057740b commit d13c5dd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_bit.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ def test_list_int(self):
1818
def test_str(self):
1919
assert Bit('101').to_list() == [True, False, True]
2020

21+
def test_str_two(self):
22+
# TODO raise
23+
assert Bit('201').to_list() == [True, False, True]
24+
2125
def test_bytes(self):
2226
assert Bit(b'\xff\x00\xf0').to_text() == '111111110000000011110000'
2327
assert Bit(b'\xfe\x07\x00').to_text() == '111111100000011100000000'

0 commit comments

Comments
 (0)