diff --git a/shamirss.py b/shamirss.py index bc92ef9..d6a2f88 100644 --- a/shamirss.py +++ b/shamirss.py @@ -370,6 +370,9 @@ class TestShamirSS(unittest.TestCase): b = GF2p8(random.randint(0, 255)) c = GF2p8(random.randint(0, 255)) + # Hashable + { a, b, c } + self.assertEqual(a * 0, 0) # Identity