Lines Matching refs:ASSERT_NEAR
3140 // Tests ASSERT_NEAR.
3141 TEST_F(FloatTest, ASSERT_NEAR) {
3142 ASSERT_NEAR(-1.0f, -1.1f, 0.2f);
3143 ASSERT_NEAR(2.0f, 3.0f, 1.0f);
3144 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0f,1.2f, 0.1f), // NOLINT
3306 // Tests ASSERT_NEAR.
3307 TEST_F(DoubleTest, ASSERT_NEAR) {
3308 ASSERT_NEAR(-1.0, -1.1, 0.2);
3309 ASSERT_NEAR(2.0, 3.0, 1.0);
3310 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0, 1.2, 0.1), // NOLINT