Home
last modified time | relevance | path

Searched refs:PW_CHECK_FLOAT_NEAR (Results 1 – 4 of 4) sorted by relevance

/external/pigweed/pw_assert/
Dassert_facade_test.cc259 PW_CHECK_FLOAT_NEAR(5.2, 2.3, 0.1); in TEST_F()
264 PW_CHECK_FLOAT_NEAR(5.2, 2.3, 0.1, "msg"); in TEST_F()
269 PW_CHECK_FLOAT_NEAR(5.2, 2.3, 0.1, "msg: %d", 6); in TEST_F()
275 PW_CHECK_FLOAT_NEAR(1.2, 2.3, 0.1); in TEST_F()
280 PW_CHECK_FLOAT_NEAR(1.2, 2.3, 0.1, "msg"); in TEST_F()
285 PW_CHECK_FLOAT_NEAR(1.2, 2.3, 0.1, "msg: %d", 6); in TEST_F()
305 TEST_F(AssertFail, FloatNearAbs1) { PW_CHECK_FLOAT_NEAR(1.09, 1.2, 0.1); } in TEST_F()
306 TEST_F(AssertPass, FloatNearAbs2) { PW_CHECK_FLOAT_NEAR(1.1, 1.2, 0.1); } in TEST_F()
307 TEST_F(AssertPass, FloatNearAbs3) { PW_CHECK_FLOAT_NEAR(1.2, 1.2, 0.1); } in TEST_F()
308 TEST_F(AssertPass, FloatNearAbs4) { PW_CHECK_FLOAT_NEAR(1.2, 1.1, 0.1); } in TEST_F()
[all …]
Ddocs.rst336 .. cpp:function:: PW_CHECK_FLOAT_NEAR(a, b, abs_tolerance)
337 .. cpp:function:: PW_CHECK_FLOAT_NEAR(a, b, abs_tolerance, format, ...)
354 PW_CHECK_FLOAT_NEAR(cos(0.0f), 1, 0.001);
360 PW_CHECK_FLOAT_NEAR(FirstOperation(), RedundantOperation(), 0.1,
/external/pigweed/pw_assert/public/pw_assert/
Dshort.h43 #define CHECK_FLOAT_NEAR PW_CHECK_FLOAT_NEAR
/external/pigweed/pw_assert/public/pw_assert/internal/
Dcheck_impl.h114 #define PW_CHECK_FLOAT_NEAR(arga, argb, abs_tolerance, ...) \ macro
125 #define PW_DCHECK_FLOAT_NEAR(...) if (!(PW_ASSERT_ENABLE_DEBUG)) {} else PW_CHECK_FLOAT_NEAR(__…