Lines Matching refs:Tpl
260 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
261 Matcher<const Tpl&> m = FloatEq(); in TEST()
262 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
263 EXPECT_TRUE(m.Matches(Tpl(0.3f, 0.1f + 0.1f + 0.1f))); in TEST()
264 EXPECT_FALSE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
276 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
277 Matcher<const Tpl&> m = NanSensitiveFloatEq(); in TEST()
278 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
279 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), in TEST()
281 EXPECT_FALSE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
282 EXPECT_FALSE(m.Matches(Tpl(1.0f, std::numeric_limits<float>::quiet_NaN()))); in TEST()
283 EXPECT_FALSE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), 1.0f))); in TEST()
295 typedef ::std::tuple<double, double> Tpl; in TEST() typedef
296 Matcher<const Tpl&> m = DoubleEq(); in TEST()
297 EXPECT_TRUE(m.Matches(Tpl(1.0, 1.0))); in TEST()
298 EXPECT_TRUE(m.Matches(Tpl(0.3, 0.1 + 0.1 + 0.1))); in TEST()
299 EXPECT_FALSE(m.Matches(Tpl(1.1, 1.0))); in TEST()
311 typedef ::std::tuple<double, double> Tpl; in TEST() typedef
312 Matcher<const Tpl&> m = NanSensitiveDoubleEq(); in TEST()
313 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
314 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<double>::quiet_NaN(), in TEST()
316 EXPECT_FALSE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
317 EXPECT_FALSE(m.Matches(Tpl(1.0f, std::numeric_limits<double>::quiet_NaN()))); in TEST()
318 EXPECT_FALSE(m.Matches(Tpl(std::numeric_limits<double>::quiet_NaN(), 1.0f))); in TEST()
330 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
331 Matcher<const Tpl&> m = FloatNear(0.5f); in TEST()
332 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
333 EXPECT_TRUE(m.Matches(Tpl(1.3f, 1.0f))); in TEST()
334 EXPECT_FALSE(m.Matches(Tpl(1.8f, 1.0f))); in TEST()
346 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
347 Matcher<const Tpl&> m = NanSensitiveFloatNear(0.5f); in TEST()
348 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
349 EXPECT_TRUE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
350 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), in TEST()
352 EXPECT_FALSE(m.Matches(Tpl(1.6f, 1.0f))); in TEST()
353 EXPECT_FALSE(m.Matches(Tpl(1.0f, std::numeric_limits<float>::quiet_NaN()))); in TEST()
354 EXPECT_FALSE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), 1.0f))); in TEST()
366 typedef ::std::tuple<double, double> Tpl; in TEST() typedef
367 Matcher<const Tpl&> m = DoubleNear(0.5); in TEST()
368 EXPECT_TRUE(m.Matches(Tpl(1.0, 1.0))); in TEST()
369 EXPECT_TRUE(m.Matches(Tpl(1.3, 1.0))); in TEST()
370 EXPECT_FALSE(m.Matches(Tpl(1.8, 1.0))); in TEST()
382 typedef ::std::tuple<double, double> Tpl; in TEST() typedef
383 Matcher<const Tpl&> m = NanSensitiveDoubleNear(0.5f); in TEST()
384 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
385 EXPECT_TRUE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
386 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<double>::quiet_NaN(), in TEST()
388 EXPECT_FALSE(m.Matches(Tpl(1.6f, 1.0f))); in TEST()
389 EXPECT_FALSE(m.Matches(Tpl(1.0f, std::numeric_limits<double>::quiet_NaN()))); in TEST()
390 EXPECT_FALSE(m.Matches(Tpl(std::numeric_limits<double>::quiet_NaN(), 1.0f))); in TEST()