We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 456e0cf commit 2cdab51Copy full SHA for 2cdab51
1 file changed
src/test/java/com/thealgorithms/graph/HierholzerAlgorithmTest.java
@@ -1,6 +1,7 @@
1
package com.thealgorithms.graph;
2
3
import static org.junit.jupiter.api.Assertions.*;
4
+
5
import java.util.*;
6
import org.junit.jupiter.api.Test;
7
@@ -42,7 +43,7 @@ public void testFailsForGraphWithOddDegreeVertices() {
42
43
// The find method should return an empty list
44
assertTrue(algorithm.findEulerianCircuit().isEmpty());
45
}
-
46
47
@Test
48
public void testFailsForDisconnectedGraph() {
49
// Create a graph with two separate triangles (0-1-2 and 3-4-5)
0 commit comments