Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for Astrup (0.23 sec)

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

        assertThat(network.edgesConnecting(N3, N2)).isEmpty();
      }
    
      @Test
      public void addEdge_selfLoop_allowed() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
    
        assertThat(networkAsMutableNetwork.addEdge(N1, N1, E11)).isTrue();
        assertThat(network.edges()).contains(E11);
        assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11);
      }
    
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

        assume().that(graph.allowsSelfLoops()).isTrue();
    
        graphAsMutableGraph.putEdge(N1, N1);
        assertThat(graphAsMutableGraph.putEdge(N1, N1)).isFalse();
      }
    
      @Test
      public void removeEdge_antiparallelEdges() {
        assume().that(graphIsMutable()).isTrue();
    
        putEdge(N1, N2);
        putEdge(N2, N1);
    
        assertThat(graphAsMutableGraph.removeEdge(N1, N2)).isTrue();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(future.set(1)).isTrue();
        assertSuccessful(future, 1);
      }
    
      public void testFailed() throws Exception {
        Exception cause = new Exception();
        assertThat(future.setException(cause)).isTrue();
        assertFailed(future, cause);
      }
    
      public void testCanceled() throws Exception {
        assertThat(future.cancel(false /* mayInterruptIfRunning */)).isTrue();
        assertCancelled(future, false);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

        assertThat(hasCycle(undirectedGraph)).isTrue(); // cyclic in undirected case
      }
    
      @Test
      public void hasCycle_threeCyclicEdges() {
        for (MutableGraph<Integer> graph : graphsToTest) {
          graph.putEdge(1, 2);
          graph.putEdge(2, 3);
          graph.putEdge(3, 1);
        }
        assertThat(hasCycle(directedGraph)).isTrue();
        assertThat(hasCycle(undirectedGraph)).isTrue();
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 07 15:09:01 GMT 2016
    - 5.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      }
    
      @Test
      public void addNode_newNode() {
        assume().that(graphIsMutable()).isTrue();
    
        assertThat(graphAsMutableGraph.addNode(N1)).isTrue();
        assertThat(graph.nodes()).contains(N1);
      }
    
      @Test
      public void addNode_existingNode() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        ImmutableSet<Integer> nodes = ImmutableSet.copyOf(graph.nodes());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(network.nodes()).hasSize(NUM_NODES - numNodesToRemove);
          // Number of edges remaining is unknown (node's incident edges have been removed).
          AbstractNetworkTest.validateNetwork(network);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

            assertThat(graph.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(graph.nodes()).hasSize(NUM_NODES - numNodesToRemove);
          // Number of edges remaining is unknown (node's incident edges have been removed).
          AbstractGraphTest.validateGraph(graph);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(graph.removeNode(nodeList.get(i))).isTrue();
          }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 18 16:17:46 GMT 2017
    - 4.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.asList(ARRAY_TRUE).contains(true)).isTrue();
        assertThat(Booleans.asList(ARRAY_FALSE_TRUE).contains(false)).isTrue();
        assertThat(Booleans.asList(ARRAY_FALSE_TRUE).contains(true)).isTrue();
      }
    
      public void testAsListEquals() {
        assertThat(Booleans.asList(EMPTY).equals(Collections.emptyList())).isTrue();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.asList(ARRAY_TRUE).contains(true)).isTrue();
        assertThat(Booleans.asList(ARRAY_FALSE_TRUE).contains(false)).isTrue();
        assertThat(Booleans.asList(ARRAY_FALSE_TRUE).contains(true)).isTrue();
      }
    
      public void testAsListEquals() {
        assertThat(Booleans.asList(EMPTY).equals(Collections.emptyList())).isTrue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
Back to top