- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for addNode_newNode (0.15 sec)
-
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
public void outDegree_nodeNotInGraph() { assertNodeNotInGraphErrorMessage( assertThrows(IllegalArgumentException.class, () -> graph.outDegree(NODE_NOT_IN_GRAPH))); } @Test public void addNode_newNode() { assume().that(graphIsMutable()).isTrue(); assertThat(graphAsMutableGraph.addNode(N1)).isTrue(); assertThat(graph.nodes()).contains(N1); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 16.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
public void successors_nodeNotInGraph() { assertNodeNotInGraphErrorMessage( assertThrows(IllegalArgumentException.class, () -> network.successors(NODE_NOT_IN_GRAPH))); } @Test public void addNode_newNode() { assume().that(graphIsMutable()).isTrue(); assertTrue(networkAsMutableNetwork.addNode(N1)); assertThat(networkAsMutableNetwork.nodes()).contains(N1); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0)