SILICON
Loading...
Searching...
No Matches
tests.hpp File Reference
#include <cassert>
#include <core/gates.hpp>
#include <core/wire.hpp>
#include <gtest/gtest.h>
#include <memory>
#include <utils/num_formatting.hpp>
Include dependency graph for tests.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BusValue valueFor (const Bus &bus, const std::uint64_t value)
BusValue valueFor (const std::size_t width, const std::uint64_t value)
void __ubsan_on_report ()
void __asan_on_error ()
void __tsan_on_report ()
void PrintTo (const State &s, std::ostream *os)

Function Documentation

◆ __asan_on_error()

void __asan_on_error ( )
inline

Definition at line 27 of file tests.hpp.

◆ __tsan_on_report()

void __tsan_on_report ( )
inline

Definition at line 32 of file tests.hpp.

◆ __ubsan_on_report()

void __ubsan_on_report ( )
inline

Definition at line 22 of file tests.hpp.

◆ PrintTo()

void PrintTo ( const State & s,
std::ostream * os )
inline

Definition at line 38 of file tests.hpp.

◆ valueFor() [1/2]

BusValue valueFor ( const Bus & bus,
const std::uint64_t value )
inline

Definition at line 11 of file tests.hpp.

◆ valueFor() [2/2]

BusValue valueFor ( const std::size_t width,
const std::uint64_t value )
inline

Definition at line 16 of file tests.hpp.