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

/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc2860 // Tests EXPECT_NEAR.
2861 TEST_F(FloatTest, EXPECT_NEAR) {
2862 EXPECT_NEAR(-1.0f, -1.1f, 0.2f);
2863 EXPECT_NEAR(2.0f, 3.0f, 1.0f);
2864 EXPECT_NONFATAL_FAILURE(EXPECT_NEAR(1.0f,1.5f, 0.25f), // NOLINT
3032 // Tests EXPECT_NEAR.
3033 TEST_F(DoubleTest, EXPECT_NEAR) {
3034 EXPECT_NEAR(-1.0, -1.1, 0.2);
3035 EXPECT_NEAR(2.0, 3.0, 1.0);
3036 EXPECT_NONFATAL_FAILURE(EXPECT_NEAR(1.
[all...]
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest.h2043 #define EXPECT_NEAR(val1, val2, abs_error)\ macro

Completed in 27 milliseconds