1#include <gmock/gmock.h>
2#include <gtest/gtest.h>
14using testing::ElementsAre;
16TEST(BitwiseTraceGenTest, U1And)
18 TestTraceContainer
trace;
52TEST(BitwiseTraceGenTest, U32And)
54 TestTraceContainer
trace;
61 .a = MemoryValue::from<uint32_t>(0x52488425),
62 .b = MemoryValue::from<uint32_t>(0xC684486C),
105TEST(BitwiseTraceGenTest, ErrorInputFF)
107 TestTraceContainer
trace;
135TEST(BitwiseTraceGenTest, ErrorTagMismatch)
137 TestTraceContainer
trace;
169TEST(BitwiseTraceGenTest, ErrorFFAndTagMismatch)
171 TestTraceContainer
trace;
201 bitwise_tag_ab_diff_inv,
static TaggedValue from(T value)
static TaggedValue from_tag(ValueTag tag, FF value)
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)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept