Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_range_check.hpp
Go to the documentation of this file.
1#pragma once
2
4
5#include <cstddef>
6#include <gmock/gmock.h>
7#include <vector>
8
9namespace bb::avm2::simulation {
10
12 public:
13 // https://google.github.io/googletest/gmock_cook_book.html#making-the-compilation-faster
15 ~MockRangeCheck() override;
16
17 MOCK_METHOD(void, assert_range, (uint128_t value, uint8_t num_bits), (override));
18};
19
20} // namespace bb::avm2::simulation
MOCK_METHOD(void, assert_range,(uint128_t value, uint8_t num_bits),(override))
virtual void assert_range(uint128_t value, uint8_t num_bits)=0
unsigned __int128 uint128_t
Definition serialize.hpp:44