Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasCycle_isolatedNodes (0.1 sec)

  1. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

      }
    
      @Test
      public void hasCycle_emptyGraph() {
        assertThat(hasCycle(directedGraph)).isFalse();
        assertThat(hasCycle(undirectedGraph)).isFalse();
      }
    
      @Test
      public void hasCycle_isolatedNodes() {
        for (MutableGraph<Integer> graph : graphsToTest) {
          graph.addNode(1);
          graph.addNode(2);
        }
        assertThat(hasCycle(directedGraph)).isFalse();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 18 17:56:35 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top