    @Test
    public void getCurrentValue() throws Exception {

        OffsetAnimator offsetAnimator = new OffsetAnimator(0, 100);
        float[] positionOffsets = PositionGenerator.generatePositionOffsets();

        final float[] expectedValues = new float[100];
        for (int i = 1; i < 100; i++) {
            expectedValues[i] = i;
        }

        final float[] actualValues = new float[100];

        for (int i = 0; i < positionOffsets.length; i++) {
            actualValues[i] = offsetAnimator.computeValueByOffset(positionOffsets[i]);
        }

        assertArrayEquals(expectedValues, actualValues, 0.00001f);
    }