|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
GoogleTest helper for comparing many-body operators.
Definition in file many_body_operator.hpp.
Go to the source code of this file.
Macros | |
| #define | EXPECT_OPERATOR_NEAR(X, ...) |
| Non-fatal GoogleTest assertion that two many-body operators are close (see test_operators_are_close). | |
Functions | |
| template<typename X, typename Y> | |
| ::testing::AssertionResult | test_operators_are_close (X const &x, Y const &y, double precision=1e-6) |
| Check that two many-body operators are term-wise equal up to a given precision. | |