Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bcde (0.22 sec)

  1. maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            Graph graph2 = new Graph();
            addEdge(graph2, "a", "b");
            addEdge(graph2, "b", "c");
            CycleDetectedException cde = assertThrows(CycleDetectedException.class, () -> addEdge(graph2, "c", "a"));
            List<String> cycle = cde.getCycle();
            assertNotNull(cycle, "Cycle should be not null");
            assertTrue(cycle.contains("a"), "Cycle contains 'a'");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top