@Test
	public void testContains() {
		Bag<Integer> myList = new Bag<Integer>();
		
		assertFalse(myList.contains(0));
		for (int i = 0; i < 5; ++i) {
			myList.add(i);
			assertTrue(myList.contains(i));
			for (int j = i + 1; j < 5; ++j) {
				assertFalse(myList.contains(j));
			}
		}
		
		for (int i = 0; i < 5; ++i) {
			myList.remove(i);
			assertFalse(myList.contains(i));
			for (int j = i + 1; j < 5; ++j) {
				assertTrue(myList.contains(j));
			}		
		}
	}