Searched refs:polygon (Results 1 – 3 of 3) sorted by relevance
70 CbGeoUtils.Polygon polygon = new CbGeoUtils.Polygon((vertices)); in testPolygon() local71 assertEquals(vertices, polygon.getVertices()); in testPolygon()73 assertTrue(polygon.contains(p1)); in testPolygon()74 assertTrue(polygon.contains(p2)); in testPolygon()75 assertTrue(polygon.contains(p3)); in testPolygon()
289 RegularPolygon polygon = new RegularPolygon(); in testRepeatPolygon() local290 polygon.name = "hexagon"; in testRepeatPolygon()291 polygon.numSides = 6; in testRepeatPolygon()292 polygon.sideLength = 1.0f; in testRepeatPolygon()294 RegularPolygon result = mInterface.RepeatPolygon(polygon); in testRepeatPolygon()296 assertPolygonEquals(polygon, result); in testRepeatPolygon()319 RegularPolygon polygon = new RegularPolygon(); in testRepeatPresentNullablePolygon() local320 polygon.name = "septagon"; in testRepeatPresentNullablePolygon()321 polygon.numSides = 7; in testRepeatPresentNullablePolygon()322 polygon.sideLength = 9.0f; in testRepeatPresentNullablePolygon()[all …]
394 RegularPolygon polygon; in TEST_P() local396 EXPECT_EQ("square", polygon.name); in TEST_P()397 EXPECT_EQ(4, polygon.numSides); in TEST_P()398 EXPECT_EQ(1.0f, polygon.sideLength); in TEST_P()