List list = new ArrayList();
assertTrue("Unwrapped, empty List should not be equal to empty LongList.",!ilist.equals(list));
assertTrue("Unwrapped, empty LongList should not be equal to empty List.",!list.equals(ilist));
assertEquals(new ListLongList(list),ilist);
assertEquals(ilist,new ListLongList(list));
assertEquals(new LongListList(ilist),list);
assertEquals(list,new LongListList(ilist));
ilist.add((long)1);
list.add(new Long(1));
assertTrue("Unwrapped, non-empty List is not equal to non-empty LongList.",!ilist.equals(list));
assertTrue("Unwrapped, non-empty LongList is not equal to non-empty List.",!list.equals(ilist));
assertEquals(new ListLongList(list),ilist);
assertEquals(ilist,new ListLongList(list));
assertEquals(new LongListList(ilist),list);
assertEquals(list,new LongListList(ilist));
ilist.add(1); ilist.add(2); ilist.add(3); ilist.add(5); ilist.add(8);
list.add(new Long(1)); list.add(new Long(2)); list.add(new Long(3)); list.add(new Long(5)); list.add(new Long(8));
assertTrue("Unwrapped, non-empty List is not equal to non-empty LongList.",!ilist.equals(list));
assertTrue("Unwrapped, non-empty LongList is not equal to non-empty List.",!list.equals(ilist));
assertEquals(new ListLongList(list),ilist);
assertEquals(ilist,new ListLongList(list));
assertEquals(new LongListList(ilist),list);
assertEquals(list,new LongListList(ilist));
}