assertEquals(2, m.get(1));
}
@Test
public void testIncrement() {
HMapII m = new HMapII();
// When we put a value, we should get back the old value.
assertEquals(0, m.get(1));
m.increment(1);
assertEquals(1, m.get(1));
m.increment(1, 5);
m.increment(2, 0);
m.increment(3, 2);
assertEquals(6, m.get(1));
assertEquals(0, m.get(2));
assertEquals(2, m.get(3));
}