}
@Test(groups = "1s")
public void testGetRangeIterator() throws Exception {
setUp();
DisposableRangeIterator rit = var.getRangeIterator(true);
Assert.assertTrue(rit.hasNext());
Assert.assertEquals(-5, rit.min());
Assert.assertEquals(-5, rit.max());
rit.next();
Assert.assertTrue(rit.hasNext());
Assert.assertEquals(0, rit.min());
Assert.assertEquals(0, rit.max());
rit.next();
Assert.assertTrue(rit.hasNext());
Assert.assertEquals(3, rit.min());
Assert.assertEquals(5, rit.max());
rit.next();
Assert.assertFalse(rit.hasNext());
rit = var.getRangeIterator(false);
Assert.assertTrue(rit.hasPrevious());
Assert.assertEquals(3, rit.min());
Assert.assertEquals(5, rit.max());
rit.previous();
Assert.assertTrue(rit.hasPrevious());
Assert.assertEquals(0, rit.min());
Assert.assertEquals(0, rit.max());
rit.previous();
Assert.assertTrue(rit.hasPrevious());
Assert.assertEquals(-5, rit.min());
Assert.assertEquals(-5, rit.max());
rit.previous();
Assert.assertFalse(rit.hasPrevious());
}