Home
last modified time | relevance | path

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

/external/googletest/googlemock/test/
Dgmock-matchers_test.cc2327 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
2328 Matcher<const Tpl&> m = FloatEq(); in TEST()
2329 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
2330 EXPECT_TRUE(m.Matches(Tpl(0.3f, 0.1f + 0.1f + 0.1f))); in TEST()
2331 EXPECT_FALSE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
2343 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
2344 Matcher<const Tpl&> m = NanSensitiveFloatEq(); in TEST()
2345 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
2346 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), in TEST()
2348 EXPECT_FALSE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
[all …]