mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-09 00:23:09 +00:00
Add len assertion in test
This commit is contained in:
parent
3bdb76aa2e
commit
9bfe8c4f0f
@ -24,5 +24,6 @@ class TestFK20(TestCase):
|
||||
polynomial = bytes_to_polynomial(rand_bytes)
|
||||
proofs = [generate_element_proof(i, polynomial, GLOBAL_PARAMETERS, roots_of_unity) for i in range(size)]
|
||||
fk20_proofs = fk20_generate_proofs(polynomial, GLOBAL_PARAMETERS, roots_of_unity)
|
||||
self.assertEqual(len(proofs), len(fk20_proofs))
|
||||
self.assertEqual(proofs, fk20_proofs)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user