Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
msgpack_schema.test.cpp File Reference
#include "barretenberg/serialize/msgpack.hpp"
#include "barretenberg/serialize/msgpack_impl.hpp"
#include <gtest/gtest.h>

Go to the source code of this file.

Classes

struct  GoodExample
 
struct  BadExampleOverlap
 
struct  BadExampleIncomplete
 
struct  BadExampleCompileTimeError
 
struct  BadExampleOutOfObject
 
struct  ComplicatedSchema
 

Functions

 TEST (msgpack_tests, msgpack_sanity_sanity)
 
 TEST (msgpack_tests, msgpack_schema_sanity)
 

Variables

struct GoodExample good_example
 
struct BadExampleOverlap bad_example_overlap
 
struct BadExampleIncomplete bad_example_incomplete
 
struct BadExampleCompileTimeError bad_example_compile_time_error
 
struct BadExampleOutOfObject bad_example_out_of_object
 
struct ComplicatedSchema complicated_schema
 

Function Documentation

◆ TEST() [1/2]

TEST ( msgpack_tests  ,
msgpack_sanity_sanity   
)

Definition at line 46 of file msgpack_schema.test.cpp.

◆ TEST() [2/2]

TEST ( msgpack_tests  ,
msgpack_schema_sanity   
)

Definition at line 77 of file msgpack_schema.test.cpp.

Variable Documentation

◆ bad_example_compile_time_error

struct BadExampleCompileTimeError bad_example_compile_time_error

◆ bad_example_incomplete

struct BadExampleIncomplete bad_example_incomplete

◆ bad_example_out_of_object

struct BadExampleOutOfObject bad_example_out_of_object

◆ bad_example_overlap

struct BadExampleOverlap bad_example_overlap

◆ complicated_schema

struct ComplicatedSchema complicated_schema

◆ good_example

struct GoodExample good_example