@Test
public void simpleReducePath() {

  float[][] given = {{0, 0}, {0.1f, 1}, {0.2f, 6}, {0.3f, 4}, {1, 2}, {1.1f, 5}};
  float[][] expected = {{0, 0}, {0.2f, 6}, {0.3f, 4}, {1, 2}, {1.1f, 5}};
  convertToScreenCoordinates(given);
  convertToScreenCoordinates(expected);
  float[][] result = convertToArray(myReducer.reducePath(convertToPath(given), myConfig));
  assertPointsEquals(expected, result);
}