@Test
    void requireThatConstructorsWork() {
        RangePartition part = new RangePartition("foo=10-19");
        assertEquals("foo=10-19", part.getLabel());
        part = new RangePartition("foo", 10, 19, false);
        assertEquals("foo=10-19", part.getLabel());
        part = new RangePartition("foo", 10, 19, true);
        assertEquals("foo=-19-10", part.getLabel());
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search-core/src/test/java/com/yahoo/document/predicate/RangePartitionTest.java