1#include <gmock/gmock.h>
2#include <gtest/gtest.h>
15using testing::ElementsAre;
19TEST(ClassIdDerivationTraceGenTest, TraceGeneration)
21 TestTraceContainer
trace;
22 ClassIdDerivationTraceBuilder
builder;
24 simulation::ClassIdDerivationEvent class_event{
25 .class_id =
FF(0xdeadbeef),
26 .artifact_hash =
FF(12),
27 .private_functions_root =
FF(23),
28 .public_bytecode_commitment =
FF(45),
39 ROW_FIELD_EQ(class_id_derivation_public_bytecode_commitment,
FF(45)))));
void process(const simulation::EventEmitterInterface< simulation::AluEvent >::Container &events, TraceContainer &trace)
Process the ALU events and populate the ALU relevant columns in the trace.
std::vector< AvmFullRowConstRef > as_rows() const
#define ROW_FIELD_EQ(field_name, expression)
TEST(BoomerangMegaCircuitBuilder, BasicCircuit)