@Test
    void requireThatShortRangeIsConverted() {
        testConvert("foo in [9..19]", "foo in [9..19 (foo=0+[9..],foo=10-19)]");
        testConvert("foo in [10..19]", "foo in [10..19 (foo=10-19)]");
        testConvert("foo in [10..20]", "foo in [10..20 (foo=20+[..0],foo=10-19)]");
        testConvert("foo in [12..21]", "foo in [12..21 (foo=10+[2..],foo=20+[..1])]");
        testConvert("foo in [-19..-9]", "foo in [-19..-9 (foo=-0+[9..],foo=-19-10)]");
        testConvert("foo in [-19..-10]", "foo in [-19..-10 (foo=-19-10)]");
        testConvert("foo in [-20..-10]", "foo in [-20..-10 (foo=-20+[..0],foo=-19-10)]");
        testConvert("foo in [-21..-12]", "foo in [-21..-12 (foo=-10+[2..],foo=-20+[..1])]");
        testConvert("foo in [-9..9]", "foo in [-9..9 (foo=-9-0,foo=0-9)]");
        testConvert("foo in [-10..10]", "foo in [-10..10 (foo=-10+[..0],foo=10+[..0],foo=-9-0,foo=0-9)]");
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search-core/src/test/java/com/yahoo/search/predicate/optimization/ComplexNodeTransformerTest.java