We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d15b62a commit 44e1571Copy full SHA for 44e1571
src/test/java/com/thealgorithms/datastructures/graphs/MatrixGraphsTest.java
@@ -25,6 +25,7 @@ void testAddEdge() {
25
assertTrue(graph.edgeDoesExist(1, 0));
26
assertEquals(1, graph.numberOfEdges());
27
28
+ // Adding the same edge again should return false
29
assertFalse(graph.addEdge(0, 1));
30
assertFalse(graph.addEdge(5, 1));
31
assertFalse(graph.addEdge(-1, 1));
0 commit comments