Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for degree_oneEdge (0.09 sec)

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

      public void incidentEdges_nodeNotInGraph() {
        assertNodeNotInGraphErrorMessage(
            assertThrows(IllegalArgumentException.class, () -> graph.incidentEdges(NODE_NOT_IN_GRAPH)));
      }
    
      @Test
      public void degree_oneEdge() {
        putEdge(N1, N2);
        assertThat(graph.degree(N1)).isEqualTo(1);
        assertThat(graph.degree(N2)).isEqualTo(1);
      }
    
      @Test
      public void degree_isolatedNode() {
        addNode(N1);
    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