Skip to content

Commit

Permalink
fail multi exp g2
Browse files Browse the repository at this point in the history
  • Loading branch information
asanso committed Apr 23, 2024
1 parent c1ca0ee commit 4991fec
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,16 @@ def case16_fail_multiexp_G1():
]


def case17_fail_multiexp_G2():
yield 'fail-multiexp_G2_bls', [
{
"Input": "",
"ExpectedError": "invalid input length",
"Name": "bls_g2multiexp_empty_input"
}
]


test_kinds: Dict[str, Generator[Tuple[str, Any], None, None]] = {
'add_G1': case01_add_G1,
'add_G2': case02_add_G2,
Expand All @@ -1316,7 +1326,8 @@ def case16_fail_multiexp_G1():
'fail_mul_G2': case13_fail_mul_G2,
'fail_map_fp_to_G1': case14_fail_map_fp_to_G1,
'fail_map_fp2_to_G2': case15_fail_map_fp2_to_G2,
'fail_multiexp_G1': case16_fail_multiexp_G1
'fail_multiexp_G1': case16_fail_multiexp_G1,
'fail_multiexp_G2': case17_fail_multiexp_G2
}


Expand Down

0 comments on commit 4991fec

Please sign in to comment.