Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for incidentEdges_oneEdge (0.17 sec)

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

      public void successors_oneEdge() {
        putEdge(N1, N2);
        assertThat(graph.successors(N1)).containsExactly(N2);
        assertThat(graph.successors(N2)).containsExactly(N1);
      }
    
      @Test
      public void incidentEdges_oneEdge() {
        putEdge(N1, N2);
        EndpointPair<Integer> expectedEndpoints = EndpointPair.unordered(N1, N2);
        assertThat(graph.incidentEdges(N1)).containsExactly(expectedEndpoints);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      public void successors_oneEdge() {
        putEdge(N1, N2);
        assertThat(graph.successors(N1)).containsExactly(N2);
        assertThat(graph.successors(N2)).containsExactly(N1);
      }
    
      @Test
      public void incidentEdges_oneEdge() {
        putEdge(N1, N2);
        EndpointPair<Integer> expectedEndpoints = EndpointPair.unordered(N1, N2);
        assertThat(graph.incidentEdges(N1)).containsExactly(expectedEndpoints);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        // Network with no edges, given disconnected nodes
        addNode(N1);
        addNode(N2);
        assertThat(network.edges()).isEmpty();
      }
    
      @Test
      public void incidentEdges_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.incidentEdges(N2)).containsExactly(E12);
        assertThat(network.incidentEdges(N1)).containsExactly(E12);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top