Home
last modified time | relevance | path

Searched refs:BOOST_TEST_IS_CLOSE (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/libs/histogram/test/
Dboost_units_support_test.cpp34 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()
Daxis_regular_test.cpp104 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()
Daccumulators_weighted_mean_test.cpp32 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()
Daccumulators_test.cpp114 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()
Dis_close.hpp13 #define BOOST_TEST_IS_CLOSE(a, b, eps) BOOST_TEST(std::abs(a - b) < eps) macro
Daxis_variable_test.cpp112 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()
Daccumulators_mean_test.cpp53 BOOST_TEST_IS_CLOSE(c.variance(), 25.714, 1e-3); in main()
Dstorage_adaptor_test.cpp237 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()