780781782783784785786787788789790791792793794
} @Test public void testComplexRangeQuery() throws Exception { Rectangle[] rects = { new Rectangle(1, 10), new Rectangle(4, 2), new Rectangle(6, 10), new Rectangle(8, 5), new Rectangle(10, 4), }; for(Rectangle rect: rects) { ds.save(rect); }
798799800801802803804805806807808809810811812
} @Test public void testCombinationQuery() throws Exception { Rectangle[] rects = { new Rectangle(1, 10), new Rectangle(4, 2), new Rectangle(6, 10), new Rectangle(8, 5), new Rectangle(10, 4), }; for(Rectangle rect: rects) { ds.save(rect); }