Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for adjacentEdges_bothEndpoints (0.13 sec)

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

        assertNodeNotInGraphErrorMessage(
            assertThrows(
                IllegalArgumentException.class, () -> network.adjacentNodes(NODE_NOT_IN_GRAPH)));
      }
    
      @Test
      public void adjacentEdges_bothEndpoints() {
        addEdge(N1, N2, E12);
        addEdge(N2, N3, E23);
        addEdge(N3, N1, E31);
        addEdge(N3, N4, E34);
        assertThat(network.adjacentEdges(E12)).containsExactly(E31, E23);
      }
    
      @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