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
7
8namespace bb::avm2::simulation {
9
10class MockEcc : public EccInterface {
11 public:
13 ~MockEcc() override;
14
16 MOCK_METHOD(EmbeddedCurvePoint, scalar_mul, (const EmbeddedCurvePoint& p, const FF& scalar), (override));
18 void,
19 add,
21 (override));
22};
23
24} // 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