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

Method tRemove

annotations/HashSetTest.java:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 assert testObject.contains("one");
22 }
23 @Test
24 void tRemove() {
25 testObject.add("one");
26 testObject.remove("one");
27 assert testObject.isEmpty();
28 }
29}
30/* Output:
31annotations.HashSetTest

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
addMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected