Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildDirectedGraph (0.15 sec)

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

      public void copyOf_nullArgument() {
        assertThrows(NullPointerException.class, () -> copyOf((Graph<?>) null));
      }
    
      @Test
      public void copyOf_directedGraph() {
        Graph<Integer> directedGraph = buildDirectedGraph();
    
        Graph<Integer> copy = copyOf(directedGraph);
        assertThat(copy).isEqualTo(directedGraph);
      }
    
      @Test
      public void copyOf_undirectedGraph() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top