D | ArcMotionTest.java | 115 float ey = ex; in testMaximumAngle() local 117 Path expected = arcWithPoint(0, 100, 100, 0, ex, ey); in testMaximumAngle() 129 float ey = (float) (Math.tan(Math.PI / 4) * 50); in testMinimumHorizontalAngle() local 130 Path expected = arcWithPoint(0, 0, 100, 50, ex, ey); in testMinimumHorizontalAngle() 135 expected = arcWithPoint(0, 0, 100.001f, 50, ex, ey); in testMinimumHorizontalAngle() 140 expected = arcWithPoint(100, 50, 0, 0, ex, ey); in testMinimumHorizontalAngle() 146 ey = (float) (Math.tan(Math.PI / 4) * 62.5f); in testMinimumHorizontalAngle() 147 expected = arcWithPoint(0, 0, 50, 100, ex, ey); in testMinimumHorizontalAngle() 152 expected = arcWithPoint(0, 0, 50, 100.001f, ex, ey); in testMinimumHorizontalAngle() 157 expected = arcWithPoint(50, 100, 0, 0, ex, ey); in testMinimumHorizontalAngle() [all …]
|