• Home
  • Raw
  • Download

Lines Matching refs:PointF

354   PointF center;  in TEST()
358 EXPECT_TRUE(center == PointF(10, 10)); in TEST()
362 EXPECT_TRUE(center == PointF(20, 20)); in TEST()
366 EXPECT_TRUE(center == PointF(21, 21)); in TEST()
370 EXPECT_TRUE(center == PointF(10, 20)); in TEST()
372 EXPECT_TRUE(center == PointF(20, 10)); in TEST()
376 EXPECT_TRUE(center == PointF(20.5f, 20.5f)); in TEST()
380 EXPECT_TRUE(center == PointF(21.5f, 21.5f)); in TEST()
762 PointF a; in TEST()
763 PointF b; in TEST()
767 { PointF(4.2f, 6.8f), PointF(4.2f, 6.8f), in TEST()
769 { PointF(4.2f, 6.8f), PointF(8.5f, 6.8f), in TEST()
771 { PointF(4.2f, 6.8f), PointF(4.2f, 9.3f), in TEST()
773 { PointF(4.2f, 6.8f), PointF(8.5f, 9.3f), in TEST()
776 { PointF(4.2f, 6.8f), PointF(4.2f, 6.8f), in TEST()
778 { PointF(8.5f, 6.8f), PointF(4.2f, 6.8f), in TEST()
780 { PointF(4.2f, 9.3f), PointF(4.2f, 6.8f), in TEST()
782 { PointF(8.5f, 9.3f), PointF(4.2f, 6.8f), in TEST()
785 { PointF(4.2f, 6.8f), PointF(6.8f, 4.2f), in TEST()
787 { PointF(-4.2f, -6.8f), PointF(-6.8f, -4.2f), in TEST()
789 { PointF(-4.2f, 6.8f), PointF(6.8f, -4.2f), in TEST()
862 EXPECT_EQ(PointF(1.1f, 2.1f).ToString(), f.origin().ToString()); in TEST()
863 EXPECT_EQ(PointF(4.2f, 2.1f).ToString(), f.top_right().ToString()); in TEST()
864 EXPECT_EQ(PointF(1.1f, 6.2f).ToString(), f.bottom_left().ToString()); in TEST()
865 EXPECT_EQ(PointF(4.2f, 6.2f).ToString(), f.bottom_right().ToString()); in TEST()
883 EXPECT_FLOAT_EQ(0.f, f.ManhattanDistanceToPoint(PointF(1.1f, 2.1f))); in TEST()
884 EXPECT_FLOAT_EQ(0.f, f.ManhattanDistanceToPoint(PointF(4.2f, 6.f))); in TEST()
885 EXPECT_FLOAT_EQ(0.f, f.ManhattanDistanceToPoint(PointF(2.f, 4.f))); in TEST()
886 EXPECT_FLOAT_EQ(3.2f, f.ManhattanDistanceToPoint(PointF(0.f, 0.f))); in TEST()
887 EXPECT_FLOAT_EQ(2.1f, f.ManhattanDistanceToPoint(PointF(2.f, 0.f))); in TEST()
888 EXPECT_FLOAT_EQ(2.9f, f.ManhattanDistanceToPoint(PointF(5.f, 0.f))); in TEST()
889 EXPECT_FLOAT_EQ(.8f, f.ManhattanDistanceToPoint(PointF(5.f, 4.f))); in TEST()
890 EXPECT_FLOAT_EQ(2.6f, f.ManhattanDistanceToPoint(PointF(5.f, 8.f))); in TEST()
891 EXPECT_FLOAT_EQ(1.8f, f.ManhattanDistanceToPoint(PointF(3.f, 8.f))); in TEST()
892 EXPECT_FLOAT_EQ(1.9f, f.ManhattanDistanceToPoint(PointF(0.f, 7.f))); in TEST()
893 EXPECT_FLOAT_EQ(1.1f, f.ManhattanDistanceToPoint(PointF(0.f, 3.f))); in TEST()