26 CHECK(dx == Approx(0.2));
32 CHECK(dx == Approx(0.5));
37 CHECK(dx == Approx(1.0));
43 CHECK(dx == Approx(0.0));
47 TEST_CASE(
"getSplineBound double",
"[numerics]") { test_spline_bounds<double>(); }
48 TEST_CASE(
"getSplineBound float",
"[numerics]") { test_spline_bounds<float>(); }
helper functions for EinsplineSetBuilder
TEST_CASE("complex_helper", "[type_traits]")
REQUIRE(std::filesystem::exists(filename))
CHECK(log_values[0]==ComplexApprox(std::complex< double >{ 5.603777579195571, -6.1586603331188225 }))
void getSplineBound(const T x, const int nmax, int &ind, TRESIDUAL &dx)
break x into the integer part and residual part and apply bounds
void test_spline_bounds()