Lines Matching refs:IsOrigin
24 TEST(PointTest, IsOrigin) { in TEST() argument
25 EXPECT_FALSE(Point(1, 0).IsOrigin()); in TEST()
26 EXPECT_FALSE(Point(0, 1).IsOrigin()); in TEST()
27 EXPECT_FALSE(Point(1, 2).IsOrigin()); in TEST()
28 EXPECT_FALSE(Point(-1, 0).IsOrigin()); in TEST()
29 EXPECT_FALSE(Point(0, -1).IsOrigin()); in TEST()
30 EXPECT_FALSE(Point(-1, -2).IsOrigin()); in TEST()
31 EXPECT_TRUE(Point(0, 0).IsOrigin()); in TEST()
33 EXPECT_FALSE(PointF(0.1f, 0).IsOrigin()); in TEST()
34 EXPECT_FALSE(PointF(0, 0.1f).IsOrigin()); in TEST()
35 EXPECT_FALSE(PointF(0.1f, 2).IsOrigin()); in TEST()
36 EXPECT_FALSE(PointF(-0.1f, 0).IsOrigin()); in TEST()
37 EXPECT_FALSE(PointF(0, -0.1f).IsOrigin()); in TEST()
38 EXPECT_FALSE(PointF(-0.1f, -2).IsOrigin()); in TEST()
39 EXPECT_TRUE(PointF(0, 0).IsOrigin()); in TEST()