Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for edgeValueOrDefault_undirected_mismatch (0.25 sec)

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

        graph.putEdgeValue(1, 2, "A");
        assertThat(graph.edgeValueOrDefault(EndpointPair.unordered(2, 1), "default")).isEqualTo("A");
      }
    
      @Test
      public void edgeValueOrDefault_undirected_mismatch() {
        graph = ValueGraphBuilder.undirected().build();
        graph.putEdgeValue(1, 2, "A");
        // Check that edgeValueOrDefault() throws on each possible ordering of an ordered EndpointPair
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph.putEdgeValue(1, 2, "A");
        assertThat(graph.edgeValueOrDefault(EndpointPair.unordered(2, 1), "default")).isEqualTo("A");
      }
    
      @Test
      public void edgeValueOrDefault_undirected_mismatch() {
        graph = ValueGraphBuilder.undirected().build();
        graph.putEdgeValue(1, 2, "A");
        // Check that edgeValueOrDefault() throws on each possible ordering of an ordered EndpointPair
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top