MCPcopy Create free account
hub / github.com/Berkeley-CS61B/skeleton-sp23 / testSize

Method testSize

lab08/tests/hashmap/TestMyHashMap.java:95–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93
94 // assumes put works
95 @DisplayName("size")
96 @Test
97 public void testSize() {
98 sanitySizeTest(new MyHashMap<>());
99 }
100
101 public static void sanitySizeTest(MyHashMap<String, Integer> b) {
102 assertThat(b.size()).isEqualTo(0);

Callers

nothing calls this directly

Calls 1

sanitySizeTestMethod · 0.95

Tested by

no test coverage detected