Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for validateGraph (0.04 sec)

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

          AbstractGraphTest.validateGraph(graph);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(graph.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(graph.nodes()).isEmpty();
          assertThat(graph.edges()).isEmpty(); // no edges can remain if there's no nodes
          AbstractGraphTest.validateGraph(graph);
    
          Collections.shuffle(nodeList, gen);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphMutationTest.java

          AbstractGraphTest.validateGraph(graph);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(graph.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(graph.nodes()).isEmpty();
          assertThat(graph.edges()).isEmpty(); // no edges can remain if there's no nodes
          AbstractGraphTest.validateGraph(graph);
    
          Collections.shuffle(nodeList, gen);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        Graph<Integer> transpose = transpose(directedGraph);
        assertThat(transpose).isEqualTo(expectedTranspose);
        assertThat(transpose(transpose)).isSameInstanceAs(directedGraph);
        AbstractGraphTest.validateGraph(transpose);
    
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        String nodeString = networkString.substring(nodeStart, edgeStart);
        String edgeString = networkString.substring(edgeStart);
    
        Graph<N> asGraph = network.asGraph();
        AbstractGraphTest.validateGraph(asGraph);
        assertThat(network.nodes()).isEqualTo(asGraph.nodes());
        assertThat(network.edges().size()).isAtLeast(asGraph.edges().size());
        assertThat(network.nodeOrder()).isEqualTo(asGraph.nodeOrder());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top