Skip to content

Commit 7e237ec

Browse files
authored
Update SkipListMapTests.java
1 parent 95d148b commit 7e237ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/com/jwetherell/algorithms/data_structures/test/SkipListMapTests.java

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ public void testSkipListMap() {
2424
data.unsorted, data.invalid));
2525
assertTrue(JavaMapTest.testJavaMap(jMap, Integer.class, mapName,
2626
data.unsorted, data.sorted, data.invalid));
27+
28+
// // improve coverage
29+
// // to string test
30+
assertNotNull(map.toString());
31+
// // get test
32+
assertNull(map.get("fake-key"));
2733
}
2834

2935
}

0 commit comments

Comments
 (0)