Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
blake3s.test.cpp File Reference
#include "blake3s.hpp"
#include <gtest/gtest.h>
#include "barretenberg/common/assert.hpp"
#include "barretenberg/common/constexpr_utils.hpp"
#include <array>
#include <iostream>
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

struct  test_vector
 

Functions

template<size_t S>
constexpr std::array< uint8_t, S > convert (const std::string_view &in)
 
 TEST (MiscBlake3s, TestVectors)
 
 TEST (MiscBlake3s, TooLargeInputTest)
 

Function Documentation

◆ convert()

template<size_t S>
constexpr std::array< uint8_t, S > convert ( const std::string_view &  in)
constexpr

Definition at line 19 of file blake3s.test.cpp.

◆ TEST() [1/2]

TEST ( MiscBlake3s  ,
TestVectors   
)

Definition at line 396 of file blake3s.test.cpp.

◆ TEST() [2/2]

TEST ( MiscBlake3s  ,
TooLargeInputTest   
)

Definition at line 419 of file blake3s.test.cpp.