MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / remove

Method remove

validating/tests/CountedListTest.java:60–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 compare(list, new String[] { "0", "1", "2" });
59 }
60 @Test
61 public void remove() {
62 System.out.println("Running testRemove()");
63 assertEquals(list.size(), 3);
64 list.remove(1);
65 assertEquals(list.size(), 2);
66 compare(list, new String[] { "0", "2" });
67 }
68 @Test
69 public void addAll() {
70 System.out.println("Running testAddAll()");

Callers

nothing calls this directly

Calls 2

compareMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected