Home
last modified time | relevance | path

Searched refs:ASSERT_NEAR (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/third_party/googletest/googletest/test/
Dgtest_unittest.cc2874 TEST_F(FloatTest, ASSERT_NEAR) { in TEST_F() argument
2875 ASSERT_NEAR(-1.0f, -1.1f, 0.2f); in TEST_F()
2876 ASSERT_NEAR(2.0f, 3.0f, 1.0f); in TEST_F()
2877 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0f,1.5f, 0.25f), // NOLINT in TEST_F()
3046 TEST_F(DoubleTest, ASSERT_NEAR) { in TEST_F() argument
3047 ASSERT_NEAR(-1.0, -1.1, 0.2); in TEST_F()
3048 ASSERT_NEAR(2.0, 3.0, 1.0); in TEST_F()
3049 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0, 1.5, 0.25), // NOLINT in TEST_F()
4185 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1,1.2, 0.1) << "Expect failure.", // NOLINT in TEST()
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest.h2071 #define ASSERT_NEAR(val1, val2, abs_error)\ macro