@Test
    void requireThatLowAritiesWork() {
        testConvert("foo in [10..39]", "foo in [10..39 (foo=10-11,foo=12-15,foo=32-39,foo=16-31)]", 2);
        testConvert("foo in [2..32]", "foo in [2..32 (foo=32+[..0],foo=2-3,foo=4-7,foo=8-15,foo=16-31)]", 2);
        testConvert("foo in [-31..63]", "foo in [-31..63 (foo=-31-0,foo=0-63)]", 2);
        testConvert("foo in [0..9223372036854775807]", "foo in [0..9223372036854775807 (foo=0-9223372036854775807)]", 2);
        testConvert("foo in [9223372036854775807..9223372036854775807]", "foo in [9223372036854775807..9223372036854775807 (foo=9223372036854775806+[1..])]", 2);
        testConvert("foo in [-9223372036854775808..-1]", "foo in [-9223372036854775808..-1 (foo=-9223372036854775808+[..0],foo=-9223372036854775807-0)]", 2);
        testConvert("foo in [-9223372036854775808..-9223372036854775808]", "foo in [-9223372036854775808..-9223372036854775808 (foo=-9223372036854775808+[..0])]", 2);
        testConvert("foo in [-9223372036854775808..9223372036854775807]", "foo in [-9223372036854775808..9223372036854775807 (foo=-9223372036854775808+[..0],foo=-9223372036854775807-0,foo=0-9223372036854775807)]", 2);

        testConvert("foo in [9223372036854775807..9223372036854775807]", "foo in [9223372036854775807..9223372036854775807 (foo=9223372036854775806+[1..1])]", 3);
        testConvert("foo in [-9223372036854775808..-9223372036854775808]", "foo in [-9223372036854775808..-9223372036854775808 (foo=-9223372036854775806+[2..])]", 3);
        testConvert("foo in [-9223372036854775808..-1]",
                "foo in [-9223372036854775808..-1 (" +
                        "foo=-9223372036854775808-9223372036854775782," +
                        "foo=-9223372036854775700-9223372036854775620," +
                        "foo=-9223372036854775781-9223372036854775701," +
                        "foo=-9223372036854775376-9223372036854775134," +
                        "foo=-9223372036854775619-9223372036854775377," +
                        "foo=-9223372036854775133-9223372036854774405," +
                        "foo=-9223372036854774404-9223372036854767844," +
                        "foo=-9223372036854708794-9223372036854649746," +
                        "foo=-9223372036854767843-9223372036854708795," +
                        "foo=-9223372036854472598-9223372036854295452," +
                        "foo=-9223372036854649745-9223372036854472599," +
                        "foo=-9223372036854295451-9223372036853764011," +
                        "foo=-9223372036852169687-9223372036850575365," +
                        "foo=-9223372036853764010-9223372036852169688," +
                        "foo=-9223372036850575364-9223372036807528644," +
                        "foo=-9223372036420108154-9223372036032687666," +
                        "foo=-9223372036807528643-9223372036420108155," +
                        "foo=-9223372036032687665-9223372032545903265," +
                        "foo=-9223372022085550061-9223372011625196859," +
                        "foo=-9223372032545903264-9223372022085550062," +
                        "foo=-9223372011625196858-9223371980244137250," +
                        "foo=-9223371980244137249-9223371132955527807," +
                        "foo=-9223368591089699477-9223366049223871149," +
                        "foo=-9223371132955527806-9223368591089699478," +
                        "foo=-9223358423626386161-9223350798028901175," +
                        "foo=-9223366049223871148-9223358423626386162," +
                        "foo=-9223327921236446213-9223305044443991253," +
                        "foo=-9223350798028901174-9223327921236446214," +
                        "foo=-9223305044443991252-9223099153311896604," +
                        "foo=-9223099153311896603-9222481479915612657," +
                        "foo=-9222481479915612656-9205804298215946088," +
                        "foo=-9205804298215946087-9155772753116946381," +
                        "foo=-9155772753116946380-9005678117819947260," +
                        "foo=-8555394211928949896-8105110306037952534," +
                        "foo=-9005678117819947259-8555394211928949897," +
                        "foo=-4052555153018976266-0," +
                        "foo=-8105110306037952533-4052555153018976267)]", 3);
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search-core/src/test/java/com/yahoo/search/predicate/optimization/ComplexNodeTransformerTest.java