|
|
@ -59,7 +59,7 @@ public class PinchGestureLayoutTest extends GestureLayoutTest<PinchGestureLayout |
|
|
|
|
|
|
|
|
|
|
|
// How will this move our parameter?
|
|
|
|
// How will this move our parameter?
|
|
|
|
float curr = 0.5f, min = 0f, max = 1f; |
|
|
|
float curr = 0.5f, min = 0f, max = 1f; |
|
|
|
float newValue = layout.getValue(curr, min, max); |
|
|
|
float newValue = layout.computeValue(curr, min, max); |
|
|
|
if (increasing) { |
|
|
|
if (increasing) { |
|
|
|
assertTrue(newValue > curr); |
|
|
|
assertTrue(newValue > curr); |
|
|
|
assertTrue(newValue <= max); |
|
|
|
assertTrue(newValue <= max); |
|
|
|