Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ROMTest< Params > Class Template Reference
Inheritance diagram for ROMTest< Params >:
acir_format::TestClass< ROMTestingFunctions< Params::Builder, Params::table_size, Params::num_reads, Params::perform_constant_ops > >

Static Protected Member Functions

static void SetUpTestSuite ()
 

Additional Inherited Members

- Public Types inherited from acir_format::TestClass< ROMTestingFunctions< Params::Builder, Params::table_size, Params::num_reads, Params::perform_constant_ops > >
using Builder = Base::Builder
 
using AcirConstraint = Base::AcirConstraint
 
using InvalidWitness = Base::InvalidWitness
 
using InvalidWitnessTarget = Base::InvalidWitness::Target
 
- Static Public Member Functions inherited from acir_format::TestClass< ROMTestingFunctions< Params::Builder, Params::table_size, Params::num_reads, Params::perform_constant_ops > >
static std::pair< AcirConstraint, WitnessVectorgenerate_constraints (const InvalidWitnessTarget &invalid_witness_target=InvalidWitnessTarget::None)
 Generate constraints and witness values based on the invalidation target.
 
static std::tuple< bool, bool, std::string > test_constraints (const InvalidWitnessTarget &invalid_witness_target)
 General purpose testing function. It generates the test based on the predicate and invalidation target.
 
static size_t test_vk_independence ()
 Test vk generation is independent of the witness values supplied.
 
static std::vector< std::string > test_tampering ()
 Test all invalid witness targets.
 

Detailed Description

template<typename Params>
class ROMTest< Params >

Definition at line 167 of file block_constraint.test.cpp.

Member Function Documentation

◆ SetUpTestSuite()

template<typename Params >
static void ROMTest< Params >::SetUpTestSuite ( )
inlinestaticprotected

Definition at line 173 of file block_constraint.test.cpp.


The documentation for this class was generated from the following file: