diff options
| author | Yuval Adam <_@yuv.al> | 2018-03-09 11:23:18 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-03-09 11:23:18 +0200 |
| commit | 519590839ec777b5b95a7779180fba9a0d03c05a (patch) | |
| tree | 0fc3f8b31047edef46203fc6068f6a5e675b9348 /tests/test_parse.py | |
| parent | c940933e2183e3d23b57212d187dabf201b4cf4f (diff) | |
Add triplet support
Diffstat (limited to 'tests/test_parse.py')
| -rw-r--r-- | tests/test_parse.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_parse.py b/tests/test_parse.py index bc213eb..862cf24 100644 --- a/tests/test_parse.py +++ b/tests/test_parse.py @@ -32,6 +32,10 @@ class TestParse(object): vs = ViewState(raw=b'\xff\x01\x0f\x67\x68') assert vs.decode() == (True, False) + def test_simple_triplet(self): + vs = ViewState(raw=b'\xff\x01\x10\x67\x68\x67') + assert vs.decode() == (True, False, True) + def test_complex_pair(self): vs = ViewState() vs.raw = b'\xff\x01\x0f\x67\x0f\x68\x66' |
