Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for edgeValue_undirected_correct (0.1 sec)

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

                IllegalArgumentException.class, () -> graph.edgeValue(EndpointPair.unordered(2, 1)));
        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      @Test
      public void edgeValue_undirected_correct() {
        graph = ValueGraphBuilder.undirected().build();
        graph.putEdgeValue(1, 2, "A");
        assertThat(graph.edgeValue(EndpointPair.unordered(1, 2))).hasValue("A");
      }
    
      @Test
    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