Home
last modified time | relevance | path

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

/external/gtest/test/
Dgtest_unittest.cc2308 TEST_F(FloatTest, ASSERT_NEAR) { in TEST_F() argument
2309 ASSERT_NEAR(-1.0f, -1.1f, 0.2f); in TEST_F()
2310 ASSERT_NEAR(2.0f, 3.0f, 1.0f); in TEST_F()
2311 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0f,1.2f, 0.1f), // NOLINT in TEST_F()
2461 TEST_F(DoubleTest, ASSERT_NEAR) { in TEST_F() argument
2462 ASSERT_NEAR(-1.0, -1.1, 0.2); in TEST_F()
2463 ASSERT_NEAR(2.0, 3.0, 1.0); in TEST_F()
2464 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0, 1.2, 0.1), // NOLINT in TEST_F()
/external/gtest/include/gtest/
Dgtest.h1225 #define ASSERT_NEAR(val1, val2, abs_error)\ macro