Skip to content

Commit 95d148b

Browse files
authored
Update GraphTests.java
1 parent 38b7c73 commit 95d148b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ public void testGraph() {
8686
final Graph<Integer> clone = new Graph<Integer>(graph);
8787

8888
Assert.assertTrue(graph.equals(clone) && graph.hashCode()==clone.hashCode());
89+
// improve coverage
90+
// to string test
91+
Assert.assertNotNull(graph.toString());
92+
8993
}
9094

9195
@Test

0 commit comments

Comments
 (0)