Home | History | Annotate | Download | only in cts

Lines Matching refs:fraction

64         // Test that the first segment of the curve (i.e. fraction in (0, 0.166666)) is below the
66 for (float fraction = EPSILON; fraction < turningPointX; fraction += 0.05f) {
67 assertTrue(interpolator.getInterpolation(fraction)
68 < fraction / turningPointX * turningPointY);
71 // Test that the second segment of the curve (i.e. fraction in (0.166666, 1)) is above
73 for (float fraction = turningPointX + EPSILON; fraction < 1f; fraction += 0.05f) {
74 float value = interpolator.getInterpolation(fraction);
75 assertTrue((value - turningPointY) / (fraction - turningPointX)