Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_ecc.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <gmock/gmock.h>
4
8
9namespace bb::avm2::simulation {
10
11class MockEcc : public EccInterface {
12 public:
14 ~MockEcc() override;
15
17 MOCK_METHOD(EmbeddedCurvePoint, scalar_mul, (const EmbeddedCurvePoint& p, const FF& scalar), (override));
19 void,
20 add,
22 (override));
23};
24
25} // namespace bb::avm2::simulation
virtual EmbeddedCurvePoint add(const EmbeddedCurvePoint &p, const EmbeddedCurvePoint &q)=0
MOCK_METHOD(EmbeddedCurvePoint, scalar_mul,(const EmbeddedCurvePoint &p, const FF &scalar),(override))
MOCK_METHOD(void, add,(MemoryInterface &memory, const EmbeddedCurvePoint &p, const EmbeddedCurvePoint &q, MemoryAddress dst_address),(override))
MOCK_METHOD(EmbeddedCurvePoint, add,(const EmbeddedCurvePoint &p, const EmbeddedCurvePoint &q),(override))
uint32_t MemoryAddress
AvmFlavorSettings::FF FF
Definition field.hpp:10