Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeEdge_oneOfMany (0.09 sec)

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

        assertThat(graphAsMutableGraph.removeEdge(N1, N2)).isFalse();
        assertThat(graph.successors(N1)).isEmpty();
        assertThat(graph.predecessors(N2)).isEmpty();
      }
    
      @Test
      public void removeEdge_oneOfMany() {
        assume().that(graphIsMutable()).isTrue();
    
        putEdge(N1, N2);
        putEdge(N1, N3);
        putEdge(N1, N4);
        assertThat(graphAsMutableGraph.removeEdge(N1, N3)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        assertThat(networkAsMutableNetwork.edges()).doesNotContain(E12);
        assertThat(networkAsMutableNetwork.edgesConnecting(N1, N2)).isEmpty();
      }
    
      @Test
      public void removeEdge_oneOfMany() {
        assume().that(graphIsMutable()).isTrue();
    
        addEdge(N1, N2, E12);
        addEdge(N1, N3, E13);
        addEdge(N1, N4, E14);
        assertThat(networkAsMutableNetwork.edges()).containsExactly(E12, E13, E14);
    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