@Test
public void negativeStepTest() {

    List<Map<String, String>> pipeInputList = new LinkedList<>();
    pipeInputList.add(new HashMap<String, String>());
    RangeExtension rangeExtension = new RangeExtension();
    RangeExtension.RangeTag rangeTag = new RangeExtension.RangeTag();
    rangeTag.setName("var_out_test");
    rangeTag.setFrom("1");
    rangeTag.setTo("-3");
    rangeTag.setStep("-0.7");
    List<Map<String, String>> resultList = rangeExtension.pipelinePossibleStates(rangeTag, pipeInputList);
    Assert.assertEquals(6, resultList.size());
    Map<String, String> resultMap = resultList.get(0);
    Assert.assertEquals("1", resultMap.get("var_out_test"));
    resultMap = resultList.get(1);
    Assert.assertEquals("0.3", resultMap.get("var_out_test"));
    resultMap = resultList.get(2);
    Assert.assertEquals("-0.4", resultMap.get("var_out_test"));
    resultMap = resultList.get(3);
    Assert.assertEquals("-1.1", resultMap.get("var_out_test"));
    resultMap = resultList.get(4);
    Assert.assertEquals("-1.8", resultMap.get("var_out_test"));
    resultMap = resultList.get(5);
    Assert.assertEquals("-2.5", resultMap.get("var_out_test"));
}