Skip to content

Commit 44e1571

Browse files
committed
Fix
1 parent d15b62a commit 44e1571

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/com/thealgorithms/datastructures/graphs/MatrixGraphsTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ void testAddEdge() {
2525
assertTrue(graph.edgeDoesExist(1, 0));
2626
assertEquals(1, graph.numberOfEdges());
2727

28+
// Adding the same edge again should return false
2829
assertFalse(graph.addEdge(0, 1));
2930
assertFalse(graph.addEdge(5, 1));
3031
assertFalse(graph.addEdge(-1, 1));

0 commit comments

Comments
 (0)