@Test
public void test04() {

    List<Object> expectedResult = new ArrayList<>();
    expectedResult.add(1.);
    expectedResult.add(2.3);
    expectedResult.add(4);
    final List<Object> result = new ArrayList<>();
    new RangeExpressionParser("[1.,2.3,4]").visit(new RangeExpressionItemVisitor() {
        @Override
        public void visit(Object val) {
            result.add(val);
        }
    });
    Assert.equals(result, expectedResult);
}