@Test
    void requireThatSearchCloseToMaxUnevenUpperBoundIsSensible() {
        PredicateRangeTermExpander expander = new PredicateRangeTermExpander(10, 0, 9223372036854771234L);
        Iterator<String> expectedLabels = List.of(
                "key=9223372036854770000-9223372036854770009",
                "key=9223372036854770000-9223372036854770099",
                "key=9223372036854770000-9223372036854770999").iterator();
        expander.expand("key", 9223372036854770000L, range -> assertEquals(PredicateHash.hash64(expectedLabels.next()), range),
                (edge, value) -> {
                    assertEquals(PredicateHash.hash64("key=9223372036854770000"), edge);
                    assertEquals(0, value);
                });
        assertFalse(expectedLabels.hasNext());
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search/src/test/java/com/yahoo/search/predicate/index/PredicateRangeTermExpanderTest.java