239240241242243244245246247248249
assertEquals(size, map.size()); for (int i = 0; i < size; i++) { assertEquals(ints[i] + 1, map.get(i)); assertTrue(map.containsKey(i)); } } @Test public void testPlus() throws IOException {
212213214215216217218219220221222
ints[i] = k; } for (int i = 0; i < size; i++) { assertEquals(ints[i], map.get(i)); assertTrue(map.containsKey(i)); } } @Test public void testUpdate() {