Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeEdge_existingEdge (0.13 sec)

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

        assertNodeNotInGraphErrorMessage(
            assertThrows(IllegalArgumentException.class, () -> graph.adjacentNodes(N1)));
      }
    
      @Test
      public void removeEdge_existingEdge() {
        assume().that(graphIsMutable()).isTrue();
    
        putEdge(N1, N2);
        assertThat(graph.successors(N1)).containsExactly(N2);
        assertThat(graph.predecessors(N2)).containsExactly(N1);
    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(n2Successors).isEmpty();
        assertThat(n2IncidentEdges).isEmpty();
        assertThat(n2InEdges).isEmpty();
        assertThat(n2OutEdges).isEmpty();
      }
    
      @Test
      public void removeEdge_existingEdge() {
        assume().that(graphIsMutable()).isTrue();
    
        addEdge(N1, N2, E12);
        assertTrue(networkAsMutableNetwork.removeEdge(E12));
        assertFalse(networkAsMutableNetwork.removeEdge(E12));
    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