We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c81135 commit f237037Copy full SHA for f237037
src/ecdsa/test_numbertheory.py
@@ -259,3 +259,6 @@ def test_inverse_mod(self, nums):
259
260
assert 0 < inv < mod
261
assert num * inv % mod == 1
262
+
263
+ def test_inverse_mod_with_zero(self):
264
+ assert 0 == inverse_mod(0, 11)
0 commit comments