• Home
  • Raw
  • Download

Lines Matching refs:Tpl

2327   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()
2349 EXPECT_FALSE(m.Matches(Tpl(1.0f, std::numeric_limits<float>::quiet_NaN()))); in TEST()
2350 EXPECT_FALSE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), 1.0f))); in TEST()
2362 typedef ::std::tuple<double, double> Tpl; in TEST() typedef
2363 Matcher<const Tpl&> m = DoubleEq(); in TEST()
2364 EXPECT_TRUE(m.Matches(Tpl(1.0, 1.0))); in TEST()
2365 EXPECT_TRUE(m.Matches(Tpl(0.3, 0.1 + 0.1 + 0.1))); in TEST()
2366 EXPECT_FALSE(m.Matches(Tpl(1.1, 1.0))); in TEST()
2378 typedef ::std::tuple<double, double> Tpl; in TEST() typedef
2379 Matcher<const Tpl&> m = NanSensitiveDoubleEq(); in TEST()
2380 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
2381 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<double>::quiet_NaN(), in TEST()
2383 EXPECT_FALSE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
2384 EXPECT_FALSE(m.Matches(Tpl(1.0f, std::numeric_limits<double>::quiet_NaN()))); in TEST()
2385 EXPECT_FALSE(m.Matches(Tpl(std::numeric_limits<double>::quiet_NaN(), 1.0f))); in TEST()
2397 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
2398 Matcher<const Tpl&> m = FloatNear(0.5f); in TEST()
2399 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
2400 EXPECT_TRUE(m.Matches(Tpl(1.3f, 1.0f))); in TEST()
2401 EXPECT_FALSE(m.Matches(Tpl(1.8f, 1.0f))); in TEST()
2413 typedef ::std::tuple<float, float> Tpl; in TEST() typedef
2414 Matcher<const Tpl&> m = NanSensitiveFloatNear(0.5f); in TEST()
2415 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
2416 EXPECT_TRUE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
2417 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), in TEST()
2419 EXPECT_FALSE(m.Matches(Tpl(1.6f, 1.0f))); in TEST()
2420 EXPECT_FALSE(m.Matches(Tpl(1.0f, std::numeric_limits<float>::quiet_NaN()))); in TEST()
2421 EXPECT_FALSE(m.Matches(Tpl(std::numeric_limits<float>::quiet_NaN(), 1.0f))); in TEST()
2433 typedef ::std::tuple<double, double> Tpl; in TEST() typedef
2434 Matcher<const Tpl&> m = DoubleNear(0.5); in TEST()
2435 EXPECT_TRUE(m.Matches(Tpl(1.0, 1.0))); in TEST()
2436 EXPECT_TRUE(m.Matches(Tpl(1.3, 1.0))); in TEST()
2437 EXPECT_FALSE(m.Matches(Tpl(1.8, 1.0))); in TEST()
2449 typedef ::std::tuple<double, double> Tpl; in TEST() typedef
2450 Matcher<const Tpl&> m = NanSensitiveDoubleNear(0.5f); in TEST()
2451 EXPECT_TRUE(m.Matches(Tpl(1.0f, 1.0f))); in TEST()
2452 EXPECT_TRUE(m.Matches(Tpl(1.1f, 1.0f))); in TEST()
2453 EXPECT_TRUE(m.Matches(Tpl(std::numeric_limits<double>::quiet_NaN(), in TEST()
2455 EXPECT_FALSE(m.Matches(Tpl(1.6f, 1.0f))); in TEST()
2456 EXPECT_FALSE(m.Matches(Tpl(1.0f, std::numeric_limits<double>::quiet_NaN()))); in TEST()
2457 EXPECT_FALSE(m.Matches(Tpl(std::numeric_limits<double>::quiet_NaN(), 1.0f))); in TEST()