Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for inDegree_isolatedNode (0.16 sec)

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

      public void degree_nodeNotInGraph() {
        assertNodeNotInGraphErrorMessage(
            assertThrows(IllegalArgumentException.class, () -> graph.degree(NODE_NOT_IN_GRAPH)));
      }
    
      @Test
      public void inDegree_isolatedNode() {
        addNode(N1);
        assertThat(graph.inDegree(N1)).isEqualTo(0);
      }
    
      @Test
      public void inDegree_nodeNotInGraph() {
        assertNodeNotInGraphErrorMessage(
    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