- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testCycle (0.04 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java
import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertThrows; @Deprecated public class GraphTest { @Test void testCycle() throws Graph.CycleDetectedException { Graph graph = new Graph(); graph.addEdge("a1", "a2"); assertThrows(Graph.CycleDetectedException.class, () -> graph.addEdge("a2", "a1")); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2K bytes - Click Count (0)