@Test
public void testGet() {

  IntList intList = new IntList();
  assertEquals(0, intList.size());
  intList.add(1);
  assertEquals(1, intList.get(0));
  assertEquals(1, intList.size());
  assertEqualArray(intList.toArray(), 1);
}