@Test public void test_size() { BTreeMap m = new BTreeMap(engine, 6, true, false, null, null, null, null); assertTrue(m.isEmpty()); assertEquals(0, m.size()); for (int i = 1; i < 30; i++) { m.put(i, i); assertEquals(i, m.size()); assertFalse(m.isEmpty()); } }
@Test public void test_size() { assertTrue(m.isEmpty()); assertEquals(0, m.size()); for (int i = 1; i < 30; i++) { m.put(i, i); assertEquals(i, m.size()); assertFalse(m.isEmpty()); } }