TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
arrays.hpp
#include "../arrays.hpp"
#include <gtest/gtest.h>
#include <h5/h5.hpp>
#include <mpi/mpi.hpp>
#include <nda/nda.hpp>
#include <nda/gtest_tools.hpp>
#include <sstream>
#include <string>

Detailed Description

GoogleTest helper macros and an HDF5 round-trip utility shared by the TRIQS C++ test suite.

Definition in file arrays.hpp.

Go to the source code of this file.

Macros

#define ASSERT_PRINT(X, Y)
 Check that streaming Y into an output stream produces the string X.
#define EXPECT_PRINT(X, Y)
 Check that streaming Y into an output stream produces the string X.
#define MAKE_MAIN
 Define a main function that runs all registered GoogleTest tests.

Functions

template<typename T>
rw_h5 (T const &x, std::string filename="ess", std::string name="x")
 Write an object to an HDF5 file and read it back.