@Test
public void reducePathForNegativeValues() {

  float[][] given = {{1, 5}, {2f, -1f}, {2f, 0}, {1, 0}};
  float[][] expected = {{1, 5}, {2f, -1}, {2, 0}, {1, 0}};
  convertToScreenCoordinates(given);
  convertToScreenCoordinates(expected);
  float[][] result = convertToArray(myReducer.reducePath(convertToPath(given), myConfig));
  assertPointsEquals(expected, result);
}