Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
twin_rom_table.test.cpp File Reference

Go to the source code of this file.

Typedefs

using Builder = UltraCircuitBuilder
 
using field_ct = stdlib::field_t< Builder >
 
using witness_ct = stdlib::witness_t< Builder >
 
using twin_rom_table_ct = stdlib::twin_rom_table< Builder >
 
using field_pair_ct = std::array< field_ct, 2 >
 

Functions

STANDARD_TESTING_TAGS TEST (TwinRomTable, TagCorrectness)
 Check the correctness of tag propagation within the twin rom tables.
 
 TEST (TwinRomTable, ReadWriteConsistency)
 Check the consistency of read-write operations in the TwinRomTable.
 

Typedef Documentation

◆ Builder

Definition at line 14 of file twin_rom_table.test.cpp.

◆ field_ct

Definition at line 15 of file twin_rom_table.test.cpp.

◆ field_pair_ct

using field_pair_ct = std::array<field_ct, 2>

Definition at line 18 of file twin_rom_table.test.cpp.

◆ twin_rom_table_ct

◆ witness_ct

Definition at line 16 of file twin_rom_table.test.cpp.

Function Documentation

◆ TEST() [1/2]

TEST ( TwinRomTable  ,
ReadWriteConsistency   
)

Check the consistency of read-write operations in the TwinRomTable.

Definition at line 74 of file twin_rom_table.test.cpp.

◆ TEST() [2/2]

STANDARD_TESTING_TAGS TEST ( TwinRomTable  ,
TagCorrectness   
)

Check the correctness of tag propagation within the twin rom tables.

Definition at line 29 of file twin_rom_table.test.cpp.