Lines Matching refs:PointF
361 PointF center; in TEST()
365 EXPECT_TRUE(center == PointF(10, 10)); in TEST()
369 EXPECT_TRUE(center == PointF(20, 20)); in TEST()
373 EXPECT_TRUE(center == PointF(21, 21)); in TEST()
377 EXPECT_TRUE(center == PointF(10, 20)); in TEST()
379 EXPECT_TRUE(center == PointF(20, 10)); in TEST()
383 EXPECT_TRUE(center == PointF(20.5f, 20.5f)); in TEST()
387 EXPECT_TRUE(center == PointF(21.5f, 21.5f)); in TEST()
769 PointF a; in TEST()
770 PointF b; in TEST()
774 { PointF(4.2f, 6.8f), PointF(4.2f, 6.8f), in TEST()
776 { PointF(4.2f, 6.8f), PointF(8.5f, 6.8f), in TEST()
778 { PointF(4.2f, 6.8f), PointF(4.2f, 9.3f), in TEST()
780 { PointF(4.2f, 6.8f), PointF(8.5f, 9.3f), in TEST()
783 { PointF(4.2f, 6.8f), PointF(4.2f, 6.8f), in TEST()
785 { PointF(8.5f, 6.8f), PointF(4.2f, 6.8f), in TEST()
787 { PointF(4.2f, 9.3f), PointF(4.2f, 6.8f), in TEST()
789 { PointF(8.5f, 9.3f), PointF(4.2f, 6.8f), in TEST()
792 { PointF(4.2f, 6.8f), PointF(6.8f, 4.2f), in TEST()
794 { PointF(-4.2f, -6.8f), PointF(-6.8f, -4.2f), in TEST()
796 { PointF(-4.2f, 6.8f), PointF(6.8f, -4.2f), in TEST()
866 EXPECT_EQ(PointF(1.1f, 2.1f), f.origin()); in TEST()
867 EXPECT_EQ(PointF(4.2f, 2.1f), f.top_right()); in TEST()
868 EXPECT_EQ(PointF(1.1f, 6.2f), f.bottom_left()); in TEST()
869 EXPECT_EQ(PointF(4.2f, 6.2f), f.bottom_right()); in TEST()
887 EXPECT_FLOAT_EQ(0.f, f.ManhattanDistanceToPoint(PointF(1.1f, 2.1f))); in TEST()
888 EXPECT_FLOAT_EQ(0.f, f.ManhattanDistanceToPoint(PointF(4.2f, 6.f))); in TEST()
889 EXPECT_FLOAT_EQ(0.f, f.ManhattanDistanceToPoint(PointF(2.f, 4.f))); in TEST()
890 EXPECT_FLOAT_EQ(3.2f, f.ManhattanDistanceToPoint(PointF(0.f, 0.f))); in TEST()
891 EXPECT_FLOAT_EQ(2.1f, f.ManhattanDistanceToPoint(PointF(2.f, 0.f))); in TEST()
892 EXPECT_FLOAT_EQ(2.9f, f.ManhattanDistanceToPoint(PointF(5.f, 0.f))); in TEST()
893 EXPECT_FLOAT_EQ(.8f, f.ManhattanDistanceToPoint(PointF(5.f, 4.f))); in TEST()
894 EXPECT_FLOAT_EQ(2.6f, f.ManhattanDistanceToPoint(PointF(5.f, 8.f))); in TEST()
895 EXPECT_FLOAT_EQ(1.8f, f.ManhattanDistanceToPoint(PointF(3.f, 8.f))); in TEST()
896 EXPECT_FLOAT_EQ(1.9f, f.ManhattanDistanceToPoint(PointF(0.f, 7.f))); in TEST()
897 EXPECT_FLOAT_EQ(1.1f, f.ManhattanDistanceToPoint(PointF(0.f, 3.f))); in TEST()