◆ setUpClass()
None test_contracts.test_groth16_bls12_377_contract.TestGroth16BLS12_377Contract.setUpClass |
( |
| ) |
|
|
static |
Definition at line 72 of file test_groth16_bls12_377_contract.py.
72 def setUpClass() -> None:
75 contract_instance_desc = InstanceDescription.deploy(
77 join(contracts_dir,
"TestGroth16BLS12_377.sol"),
78 "TestGroth16BLS12_377",
82 {
"allow_paths": contracts_dir})
83 global CONTRACT_INSTANCE
84 CONTRACT_INSTANCE = contract_instance_desc.instantiate(web3)
◆ test_groth16_bls12_377_invalid()
None test_contracts.test_groth16_bls12_377_contract.TestGroth16BLS12_377Contract.test_groth16_bls12_377_invalid |
( |
|
self | ) |
|
Definition at line 102 of file test_groth16_bls12_377_contract.py.
102 def test_groth16_bls12_377_invalid(self) -> None:
103 self.assertFalse(self._invoke_groth16_bls12_377_verify(
104 VERIFICATION_KEY, PROOF, INPUTS_INVALID))
◆ test_groth16_bls12_377_valid()
None test_contracts.test_groth16_bls12_377_contract.TestGroth16BLS12_377Contract.test_groth16_bls12_377_valid |
( |
|
self | ) |
|
Definition at line 98 of file test_groth16_bls12_377_contract.py.
98 def test_groth16_bls12_377_valid(self) -> None:
99 self.assertTrue(self._invoke_groth16_bls12_377_verify(
100 VERIFICATION_KEY, PROOF, INPUTS_VALID))
The documentation for this class was generated from the following file: