Searched refs:BOOST_TEST_IS_CLOSE (Results 1 – 8 of 8) sorted by relevance
/third_party/boost/libs/histogram/test/ |
D | boost_units_support_test.cpp | 34 BOOST_TEST_IS_CLOSE(b.bin(0).lower() / si::meter, 0.0, 1e-9); in main() 35 BOOST_TEST_IS_CLOSE(b.bin(1).lower() / si::meter, 1.0, 1e-9); in main() 36 BOOST_TEST_IS_CLOSE(b.bin(2).lower() / si::meter, 2.0, 1e-9); in main() 54 BOOST_TEST_IS_CLOSE(b.value(0) / si::meter, 1.0, 1e-9); in main() 55 BOOST_TEST_IS_CLOSE(b.value(1) / si::meter, 3.1623, 1e-3); in main() 56 BOOST_TEST_IS_CLOSE(b.value(2) / si::meter, 10.0, 1e-9); in main()
|
D | axis_regular_test.cpp | 104 BOOST_TEST_IS_CLOSE(a.bin(0).lower(), 1.0, 1e-9); in main() 105 BOOST_TEST_IS_CLOSE(a.bin(1).lower(), 10.0, 1e-9); in main() 106 BOOST_TEST_IS_CLOSE(a.bin(2).lower(), 100.0, 1e-9); in main() 130 BOOST_TEST_IS_CLOSE(a.bin(0).lower(), 0.0, 1e-9); in main() 131 BOOST_TEST_IS_CLOSE(a.bin(1).lower(), 1.0, 1e-9); in main() 132 BOOST_TEST_IS_CLOSE(a.bin(2).lower(), 4.0, 1e-9); in main() 153 BOOST_TEST_IS_CLOSE(a.bin(0).lower(), 0.0, 1e-9); in main() 154 BOOST_TEST_IS_CLOSE(a.bin(1).lower(), 1.0, 1e-9); in main() 155 BOOST_TEST_IS_CLOSE(a.bin(2).lower(), 4.0, 1e-9); in main()
|
D | accumulators_weighted_mean_test.cpp | 32 BOOST_TEST_IS_CLOSE(a.variance(), 0.8, 1e-3); in main() 43 BOOST_TEST_IS_CLOSE(b.variance(), 0.615, 1e-3); in main()
|
D | accumulators_test.cpp | 114 BOOST_TEST_IS_CLOSE(c.variance(), 25.714, 1e-3); in main() 143 BOOST_TEST_IS_CLOSE(a.variance(), 0.8, 1e-3); in main() 154 BOOST_TEST_IS_CLOSE(b.variance(), 0.615, 1e-3); in main()
|
D | is_close.hpp | 13 #define BOOST_TEST_IS_CLOSE(a, b, eps) BOOST_TEST(std::abs(a - b) < eps) macro
|
D | axis_variable_test.cpp | 112 BOOST_TEST_IS_CLOSE(a.value(4), 10, 1e-9); in main() 115 BOOST_TEST_IS_CLOSE(a.value(0), -10, 1e-9); in main()
|
D | accumulators_mean_test.cpp | 53 BOOST_TEST_IS_CLOSE(c.variance(), 25.714, 1e-3); in main()
|
D | storage_adaptor_test.cpp | 237 BOOST_TEST_IS_CLOSE(a[0].value(), 1.25, 1e-3); in main() 238 BOOST_TEST_IS_CLOSE(a[0].variance(), 0.242, 1e-3); in main()
|