Searched refs:polygon (Results 1 – 2 of 2) sorted by relevance
258 RegularPolygon polygon = new RegularPolygon(); in testRepeatPolygon() local259 polygon.name = "hexagon"; in testRepeatPolygon()260 polygon.numSides = 6; in testRepeatPolygon()261 polygon.sideLength = 1.0f; in testRepeatPolygon()263 RegularPolygon result = mInterface.RepeatPolygon(polygon); in testRepeatPolygon()265 assertPolygonEquals(polygon, result); in testRepeatPolygon()270 RegularPolygon polygon = new RegularPolygon(); in testInsAndOuts() local271 mInterface.RenamePolygon(polygon, "Jerry"); in testInsAndOuts()272 assertEquals("Jerry", polygon.name); in testInsAndOuts()
315 RegularPolygon polygon; in TEST_P() local317 EXPECT_EQ("square", polygon.name); in TEST_P()318 EXPECT_EQ(4, polygon.numSides); in TEST_P()319 EXPECT_EQ(1.0f, polygon.sideLength); in TEST_P()