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

/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc2871 // Tests ASSERT_NEAR.
2872 TEST_F(FloatTest, ASSERT_NEAR) {
2873 ASSERT_NEAR(-1.0f, -1.1f, 0.2f);
2874 ASSERT_NEAR(2.0f, 3.0f, 1.0f);
2875 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0f,1.5f, 0.25f), // NOLINT
3043 // Tests ASSERT_NEAR.
3044 TEST_F(DoubleTest, ASSERT_NEAR) {
3045 ASSERT_NEAR(-1.0, -1.1, 0.2);
3046 ASSERT_NEAR(2.0, 3.0, 1.0);
3047 EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.
[all...]
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest.h1656 // Helper function for implementing ASSERT_NEAR.
2047 #define ASSERT_NEAR(val1, val2, abs_error)\ macro

Completed in 15 milliseconds