aboutsummaryrefslogtreecommitdiff
path: root/tests/codec/ber/test_decoder.py
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2017-03-22 00:58:16 +0100
committerIlya Etingof <etingof@gmail.com>2017-03-22 00:58:16 +0100
commitbc59468692b5ef9725d489b166d1160252b03610 (patch)
tree10268ddcd55a6c000da5bcad265fd3c6abbfbed6 /tests/codec/ber/test_decoder.py
parent27bb503c60a145fe87e13c965b329185cde4e456 (diff)
downloadpyasn1-bc59468692b5ef9725d489b166d1160252b03610.tar.gz
BER/CER/DER encoder refactored to use type-ids for better performance
Diffstat (limited to 'tests/codec/ber/test_decoder.py')
-rw-r--r--tests/codec/ber/test_decoder.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/codec/ber/test_decoder.py b/tests/codec/ber/test_decoder.py
index 9f07425..f3b6c7d 100644
--- a/tests/codec/ber/test_decoder.py
+++ b/tests/codec/ber/test_decoder.py
@@ -422,6 +422,18 @@ class RealDecoderTestCase(unittest.TestCase):
ints2octs((9, 4, 161, 255, 1, 3))
) == (univ.Real((3, 2, -1020)), null)
+# TODO: this requires Real type comparison fix
+
+# def testBin6(self):
+# assert decoder.decode(
+# ints2octs((9, 5, 162, 0, 255, 255, 1))
+# ) == (univ.Real((1, 2, 262140)), null)
+
+# def testBin7(self):
+# assert decoder.decode(
+# ints2octs((9, 7, 227, 4, 1, 35, 69, 103, 1))
+# ) == (univ.Real((-1, 2, 76354972)), null)
+
def testPlusInf(self):
assert decoder.decode(
ints2octs((9, 1, 64))