Searched refs:FloatNear (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.cc94 using testing::FloatNear;
2386 // FloatNear(first field, max_abs_error) matches the second field.
2389 Matcher<const Tpl&> m = FloatNear(0.5f);
2395 // Tests that FloatNear() describes itself properly.
2397 Matcher<const ::testing::tuple<float, float>&> m = FloatNear(0.5f);
3494 TestNearMatches(&FloatNear);
3502 Matcher<float> m1 = FloatNear(2.0f, 0.5f);
3507 Matcher<float> m2 = FloatNear(0.5f, 0.5f);
3512 Matcher<float> m3 = FloatNear(nan1_, 0.0);
3534 // FloatNear neve
[all...]
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h4439 inline internal::FloatingEqMatcher<float> FloatNear( function in namespace:testing
4759 // FloatNear(first field, max_abs_error) matches the second field.
4760 inline internal::FloatingEq2Matcher<float> FloatNear(float max_abs_error) { function in namespace:testing
4771 // FloatNear(first field, max_abs_error) matches the second field with NaN

Completed in 211 milliseconds