- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for nodes_checkReturnedSetMutability (0.15 sec)
-
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
.addEqualityGroup( graph.predecessors(node), graph.successors(node), graph.adjacentNodes(node)) .testEquals(); } } @Override @Test public void nodes_checkReturnedSetMutability() { assume().that(graphIsMutable()).isTrue(); Set<Integer> nodes = graph.nodes(); assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2)); addNode(N1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
.addEqualityGroup( graph.predecessors(node), graph.successors(node), graph.adjacentNodes(node)) .testEquals(); } } @Override @Test public void nodes_checkReturnedSetMutability() { assume().that(graphIsMutable()).isTrue(); Set<Integer> nodes = graph.nodes(); assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2)); addNode(N1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assertThat(node.equals(adjacentNode) || Collections.disjoint(edges, antiParallelEdges)) .isTrue(); } } } @Override @Test public void nodes_checkReturnedSetMutability() { assume().that(graphIsMutable()).isTrue(); Set<Integer> nodes = network.nodes(); assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2)); addNode(N1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 20.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
assertThat(node.equals(adjacentNode) || Collections.disjoint(edges, antiParallelEdges)) .isTrue(); } } } @Override @Test public void nodes_checkReturnedSetMutability() { assume().that(graphIsMutable()).isTrue(); Set<Integer> nodes = network.nodes(); assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2)); addNode(N1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
assertThat(network.edgesConnecting(node, adjacentNode)) .containsExactlyElementsIn(network.edgesConnecting(adjacentNode, node)); } } } @Override @Test public void nodes_checkReturnedSetMutability() { Set<Integer> nodes = network.nodes(); assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2)); addNode(N1); assertThat(network.nodes()).containsExactlyElementsIn(nodes); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
assertThat(network.edgesConnecting(node, adjacentNode)) .containsExactlyElementsIn(network.edgesConnecting(adjacentNode, node)); } } } @Override @Test public void nodes_checkReturnedSetMutability() { Set<Integer> nodes = network.nodes(); assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2)); addNode(N1); assertThat(network.nodes()).containsExactlyElementsIn(nodes); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 18.9K bytes - Viewed (0)