Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for incidentEdges_checkReturnedSetMutability (0.46 sec)

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

        putEdge(N1, N2);
        assertThat(graph.successors(N1)).containsExactlyElementsIn(successors);
      }
    
      @Override
      @Test
      public void incidentEdges_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<EndpointPair<Integer>> incidentEdges = graph.incidentEdges(N1);
        assertThrows(
            UnsupportedOperationException.class,
    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.successors(N1)).containsExactlyElementsIn(successors);
      }
    
      @Override
      @Test
      public void incidentEdges_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<EndpointPair<Integer>> incidentEdges = graph.incidentEdges(N1);
        assertThrows(
            UnsupportedOperationException.class,
    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.edges()).containsExactlyElementsIn(edges);
      }
    
      @Override
      @Test
      public void incidentEdges_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<String> incidentEdges = network.incidentEdges(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)
  4. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactlyElementsIn(edges);
      }
    
      @Override
      @Test
      public void incidentEdges_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        Set<String> incidentEdges = network.incidentEdges(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)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactlyElementsIn(edges);
      }
    
      @Override
      @Test
      public void incidentEdges_checkReturnedSetMutability() {
        addNode(N1);
        Set<String> incidentEdges = network.incidentEdges(N1);
        assertThrows(UnsupportedOperationException.class, () -> incidentEdges.add(E12));
        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 incidentEdges} has the expected mutability
       * property (see the {@code Graph} documentation for more information).
       */
      @Test
      public abstract void incidentEdges_checkReturnedSetMutability();
    
      @Test
      public void nodes_oneNode() {
        addNode(N1);
        assertThat(graph.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
    - 16.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactlyElementsIn(edges);
      }
    
      @Override
      @Test
      public void incidentEdges_checkReturnedSetMutability() {
        addNode(N1);
        Set<String> incidentEdges = network.incidentEdges(N1);
        assertThrows(UnsupportedOperationException.class, () -> incidentEdges.add(E12));
        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 incidentEdges} has the expected mutability
       * property (see the {@code Network} documentation for more information).
       */
      @Test
      public abstract void incidentEdges_checkReturnedSetMutability();
    
      /**
       * Verifies that the {@code Set} returned by {@code adjacentNodes} has the expected mutability
       * property (see the {@code Network} documentation for more information).
       */
      @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)
Back to top