![]() |
Shamrock 2025.10.0
Astrophysical Code
|
A test assertion. More...
#include <shamtest/details/TestAssert.hpp>
Collaboration diagram for shamtest::details::TestAssert:Public Member Functions | |
| std::string | serialize_json () |
| Serialize the assertion in JSON. | |
| void | serialize (std::basic_stringstream< byte > &stream) |
| Serialize the assertion in binary format. | |
Static Public Member Functions | |
| static TestAssert | deserialize (std::basic_stringstream< byte > &reader) |
| DeSerialize the assertion from binary format. | |
Public Attributes | |
| bool | value |
| Value of the assert. | |
| std::string | name |
| Name of the assert. | |
| std::string | comment |
| Comment attached to the assert. | |
A test assertion.
Definition at line 24 of file TestAssert.hpp.
|
static |
DeSerialize the assertion from binary format.
Definition at line 44 of file TestAssert.cpp.
| void TestAssert::serialize | ( | std::basic_stringstream< byte > & | stream | ) |
Serialize the assertion in binary format.
Definition at line 37 of file TestAssert.cpp.
| std::string shamtest::details::TestAssert::serialize_json | ( | ) |
Serialize the assertion in JSON.
Definition at line 21 of file TestAssert.cpp.
| std::string shamtest::details::TestAssert::comment |
Comment attached to the assert.
Definition at line 27 of file TestAssert.hpp.
| std::string shamtest::details::TestAssert::name |
Name of the assert.
Definition at line 26 of file TestAssert.hpp.
| bool shamtest::details::TestAssert::value |
Value of the assert.
Definition at line 25 of file TestAssert.hpp.