4748495051525354555657
for (int i = 0; i < size; i++) { long v = map.get(i); assertEquals(longs[i], v); assertTrue(map.containsKey(i)); } } @Test public void testUpdate() {
7677787980818283848586
for (int i = 0; i < size; i++) { long v = map.get(i); assertEquals(longs[i] + 10L, v); assertTrue(map.containsKey(i)); } } @Test public void testBasic() throws IOException {
for (int i = 0; i < size; i++) { short v = map.get(i); assertEquals(shorts[i], v); assertTrue(map.containsKey(i)); } } @Test public void testUpdate() {
for (int i = 0; i < size; i++) { short v = map.get(i); assertEquals(shorts[i] + 10, v); assertTrue(map.containsKey(i)); } } @Test public void testBasic() throws IOException {
for (int i = 0; i < size; i++) { double v = map.get(i); assertEquals(doubles[i], v, 0.0); assertTrue(map.containsKey(i)); } } @Test public void testUpdate() {
for (int i = 0; i < size; i++) { double v = map.get(i); assertEquals(doubles[i] + 1.0, v, 0.0); assertTrue(map.containsKey(i)); } } @Test public void testBasic() throws IOException {
for (int i = 0; i < size; i++) { float v = map.get(i); assertEquals(floats[i], v, 0.0f); assertTrue(map.containsKey(i)); } } @Test public void testUpdate() {
for (int i = 0; i < size; i++) { float v = map.get(i); assertEquals(floats[i] + 1.0f, v, 0.0f); assertTrue(map.containsKey(i)); } } @Test public void testBasic() throws IOException {
for (int i = 0; i < size; i++) { int v = map.get(i); assertEquals(ints[i], v); assertTrue(map.containsKey(i)); } } @Test
7778798081828384858687
for (int i = 0; i < size; i++) { int v = map.get(i); assertEquals(ints[i] + 1, v); assertTrue(map.containsKey(i)); } } @Test public void testBasic() throws IOException {