Searched refs:epsilon_y (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/ui/gfx/geometry/ |
D | quad_unittest.cc | 264 Vector2dF epsilon_y(0, 2 * std::numeric_limits<float>::epsilon()); in TEST() local 282 EXPECT_FALSE(QuadF(a, b, c, d).Contains(a - epsilon_y)); in TEST() 284 EXPECT_TRUE(QuadF(a, b, c, d).Contains(a + epsilon_y)); in TEST() 288 EXPECT_FALSE(QuadF(a, b, c, d).Contains(b - epsilon_y)); in TEST() 290 EXPECT_FALSE(QuadF(a, b, c, d).Contains(b + epsilon_y)); in TEST() 294 EXPECT_TRUE(QuadF(a, b, c, d).Contains(c - epsilon_y)); in TEST() 296 EXPECT_FALSE(QuadF(a, b, c, d).Contains(c + epsilon_y)); in TEST() 300 EXPECT_FALSE(QuadF(a, b, c, d).Contains(d - epsilon_y)); in TEST() 302 EXPECT_FALSE(QuadF(a, b, c, d).Contains(d + epsilon_y)); in TEST()
|