Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for successors_checkReturnedSetMutability (0.23 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/AbstractGraphTest.java

       * Verifies that the {@code Set} returned by {@code successors} has the expected mutability
       * property (see the {@code Graph} documentation for more information).
       */
      @Test
      public abstract void successors_checkReturnedSetMutability();
    
      /**
       * Verifies that the {@code Set} returned by {@code incidentEdges} has the expected mutability
       * property (see the {@code Graph} documentation for more information).
       */
      @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)
  7. 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)
  8. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

       * Verifies that the {@code Set} returned by {@code successors} has the expected mutability
       * property (see the {@code Network} documentation for more information).
       */
      @Test
      public abstract void successors_checkReturnedSetMutability();
    
      @Test
      public void nodes_oneNode() {
        addNode(N1);
        assertThat(network.nodes()).containsExactly(N1);
      }
    
      @Test
      public void nodes_noNodes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top