diff --git a/tests/test_pairing.py b/tests/test_pairing.py index 6517658..569d1b3 100644 --- a/tests/test_pairing.py +++ b/tests/test_pairing.py @@ -139,6 +139,10 @@ def test_ec_arithmetic(group): assert len(str(g)) > 0 + # Bug for large factors multiplication. + a = 4 * group.order() + assert (g * a).is_neutral_element() + def test_gt_multiplication(): g = GT.generator()