![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include <shamtest/details/TestData.hpp>
Collaboration diagram for shamtest::details::TestData:Public Member Functions | |
| void | add_data (std::string name, const std::vector< f64 > &v) |
| Add some data to the dataset. | |
| 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 TestData | deserialize (std::basic_stringstream< byte > &stream) |
| DeSerialize the assertion from binary format. | |
Public Attributes | |
| std::string | dataset_name |
| Name of the dataset. | |
| std::vector< DataNode > | dataset |
| Dataset. | |
< Test data
Definition at line 23 of file TestData.hpp.
|
inline |
Add some data to the dataset.
Definition at line 28 of file TestData.hpp.
| std::vector<DataNode> shamtest::details::TestData::dataset |
Dataset.
Definition at line 25 of file TestData.hpp.
| std::string shamtest::details::TestData::dataset_name |
Name of the dataset.
Definition at line 24 of file TestData.hpp.