Lines Matching refs:EXPECT_NEAR
2853 // Tests EXPECT_NEAR.
2854 TEST_F(FloatTest, EXPECT_NEAR) {
2855 EXPECT_NEAR(-1.0f, -1.1f, 0.2f);
2856 EXPECT_NEAR(2.0f, 3.0f, 1.0f);
2857 EXPECT_NONFATAL_FAILURE(EXPECT_NEAR(1.0f,1.5f, 0.25f), // NOLINT
3025 // Tests EXPECT_NEAR.
3026 TEST_F(DoubleTest, EXPECT_NEAR) {
3027 EXPECT_NEAR(-1.0, -1.1, 0.2);
3028 EXPECT_NEAR(2.0, 3.0, 1.0);
3029 EXPECT_NONFATAL_FAILURE(EXPECT_NEAR(1.0, 1.5, 0.25), // NOLINT
4152 EXPECT_NEAR(1, 1.1, 0.2) << "This should succeed.";