@Test
    void requireThatSmallNegativeRangeIsExpanded() {
        PredicateRangeTermExpander expander = new PredicateRangeTermExpander(10);
        Iterator<String> expectedLabels = List.of(
                "key=-49-40",
                "key=-99-0",
                "key=-999-0",
                "key=-9999-0",
                "key=-99999-0",
                "key=-999999-0",
                "key=-9999999-0",
                "key=-99999999-0",
                "key=-999999999-0",
                "key=-9999999999-0",
                "key=-99999999999-0",
                "key=-999999999999-0",
                "key=-9999999999999-0",
                "key=-99999999999999-0",
                "key=-999999999999999-0",
                "key=-9999999999999999-0",
                "key=-99999999999999999-0",
                "key=-999999999999999999-0").iterator();
        expander.expand("key", -42, range -> assertEquals(PredicateHash.hash64(expectedLabels.next()), range),
                (edge, value) -> {
                    assertEquals(PredicateHash.hash64("key=-40"), edge);
                    assertEquals(2, 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