@Test
    void testPredicateBounds() {
        Index index = new Index("a");
        assertEquals(Long.MIN_VALUE, index.getPredicateLowerBound());
        assertEquals(Long.MAX_VALUE, index.getPredicateUpperBound());
        index.addCommand("predicate-bounds [2..300]");
        assertEquals(2L, index.getPredicateLowerBound());
        assertEquals(300L, index.getPredicateUpperBound());
        index.addCommand("predicate-bounds [-20000..30000]");
        assertEquals(-20_000L, index.getPredicateLowerBound());
        assertEquals(30_000L, index.getPredicateUpperBound());
        index.addCommand("predicate-bounds [-40000000000..-300]");
        assertEquals(-40_000_000_000L, index.getPredicateLowerBound());
        assertEquals(-300L, index.getPredicateUpperBound());
        index.addCommand("predicate-bounds [..300]");
        assertEquals(Long.MIN_VALUE, index.getPredicateLowerBound());
        assertEquals(300L, index.getPredicateUpperBound());
        index.addCommand("predicate-bounds [2..]");
        assertEquals(2L, index.getPredicateLowerBound());
        assertEquals(Long.MAX_VALUE, index.getPredicateUpperBound());
    }
Tests using synthetic index names for IndexFacts class.

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/prelude/test/IndexFactsTestCase.java