Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        assertThat(graph.degree(N2)).isEqualTo(1);
      }
    
      @Test
      public void degree_isolatedNode() {
        addNode(N1);
        assertThat(graph.degree(N1)).isEqualTo(0);
      }
    
      @Test
      public void degree_nodeNotInGraph() {
        assertNodeNotInGraphErrorMessage(
            assertThrows(IllegalArgumentException.class, () -> graph.degree(NODE_NOT_IN_GRAPH)));
      }
    
      @Test
      public void inDegree_isolatedNode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top