@Test
    void requireThatVeryShortRangesAreConverted() {
        testConvert("foo in [10..17]", "foo in [10..17 (foo=10+[..7])]");
        testConvert("foo in [12..19]", "foo in [12..19 (foo=10+[2..])]");
        testConvert("foo in [11..18]", "foo in [11..18 (foo=10+[1..8])]");
        testConvert("foo in [7..13]", "foo in [7..13 (foo=0+[7..],foo=10+[..3])]");
        testConvert("foo in [-17..-10]", "foo in [-17..-10 (foo=-10+[..7])]");
        testConvert("foo in [-19..-12]", "foo in [-19..-12 (foo=-10+[2..])]");
        testConvert("foo in [-18..-11]", "foo in [-18..-11 (foo=-10+[1..8])]");
        testConvert("foo in [-13..-7]", "foo in [-13..-7 (foo=-0+[7..],foo=-10+[..3])]");
        testConvert("foo in [-5..4]", "foo in [-5..4 (foo=-0+[..5],foo=0+[..4])]");
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search-core/src/test/java/com/yahoo/search/predicate/optimization/ComplexNodeTransformerTest.java