Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for successors_checkReturnedSetMutability (0.18 sec)

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

        putEdge(N1, N2);
        assertThat(graph.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> successors = graph.successors(N1);
        assertThrows(UnsupportedOperationException.class, () -> successors.add(N2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N2);
        assertThat(graph.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> successors = graph.successors(N1);
        assertThrows(UnsupportedOperationException.class, () -> successors.add(N2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> successors = network.successors(N1);
        assertThrows(UnsupportedOperationException.class, () -> successors.add(N2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<Integer> successors = network.successors(N1);
        assertThrows(UnsupportedOperationException.class, () -> successors.add(N2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
        addNode(N1);
        Set<Integer> successors = network.successors(N1);
        assertThrows(UnsupportedOperationException.class, () -> successors.add(N2));
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
        addNode(N1);
        Set<Integer> successors = network.successors(N1);
        assertThrows(UnsupportedOperationException.class, () -> successors.add(N2));
        addEdge(N1, N2, E12);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top