GridLienzoScrollPosition { Double currentPositionY(final Double level) { final Double position = deltaY() * level / 100; return -(bounds().minBoundY() + position); } GridLienzoScrollPosition(final GridLienzoScrollHandler gridLienzoScrollHandler);   }
@Test public void testCurrentYPosition() { final Double level = 37.14d; final Double expectedPosition = -(MIN_BOUND_Y + (DELTA_Y * level / 100)); final Double actualPosition = gridLienzoScrollPosition.currentPositionY(level); assertEquals(expectedPosition, actualPosition, 0); }