27 TEST_CASE(
"checkMatrix_OhmmsMatrix_real",
"[utilities][for_testing]")
81 std::string::size_type pos = 0;
86 if (pos == std::string::npos)
95 using testing::MatrixAccessor;
97 TEST_CASE(
"checkMatrix_real",
"[utilities][for_testing]")
100 std::vector<double> a_vec{2.3, 4.5, 2.6,
104 std::vector<double> b_vec{2.3, 4.5, 2.6,
113 std::vector<double> c_vec{2.3, 4.5, 2.6, 0.0,
126 std::string::size_type pos = 0;
131 if (pos == std::string::npos)
helper functions for EinsplineSetBuilder
TEST_CASE("complex_helper", "[type_traits]")
CHECKED_ELSE(check_matrix_result.result)
void resize(size_type n, size_type m)
Resize the container.
REQUIRE(std::filesystem::exists(filename))
CheckMatrixResult checkMatrix(M1 &a_mat, M2 &b_mat, const bool check_all=false, std::optional< const double > eps=std::nullopt)
This function checks equality a_mat and b_mat elements M1, M2 need to have their element type declare...
CHECK(log_values[0]==ComplexApprox(std::complex< double >{ 5.603777579195571, -6.1586603331188225 }))
Read only access, for testing!