- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,223 for tekst (0.22 sec)
-
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
} /** * This test checks an implementation dependent feature. It tests that the method {@code addEdge} * will silently add the missing nodes to the graph, then add the edge connecting them. We are not * using the proxy methods here as we want to test {@code addEdge} when the end-points are not * elements of the graph. */ @Test public void addEdge_nodesNotInGraph() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
} @Test public void inDegree_oneEdge() { addEdge(N1, N2, E12); assertThat(network.inDegree(N2)).isEqualTo(1); assertThat(network.inDegree(N1)).isEqualTo(1); } @Test public void outDegree_oneEdge() { addEdge(N1, N2, E12); assertThat(network.outDegree(N1)).isEqualTo(1); assertThat(network.outDegree(N2)).isEqualTo(1); } @Test
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 19.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
.add((long) Integer.MIN_VALUE + i) .add((long) Integer.MAX_VALUE + i) .add((1L << 32) + i); } TEST_INTS = testIntsBuilder.build(); TEST_LONGS = testLongsBuilder.build(); } public void testFromIntBitsAndIntValueAreInverses() { for (int value : TEST_INTS) { assertWithMessage(UnsignedInts.toString(value)) .that(UnsignedInteger.fromIntBits(value).intValue())
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 9.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
.add(BigInteger.ONE.shiftLeft(63).add(bigI)) .add(BigInteger.ONE.shiftLeft(64).add(bigI)); } TEST_LONGS = testLongsBuilder.build(); TEST_BIG_INTEGERS = testBigIntegersBuilder.build(); } public void testAsUnsignedAndLongValueAreInverses() { for (long value : TEST_LONGS) { assertWithMessage(UnsignedLongs.toString(value)) .that(UnsignedLong.fromLongBits(value).longValue())
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
*/ @Test public abstract void incidentEdges_checkReturnedSetMutability(); @Test public void nodes_oneNode() { addNode(N1); assertThat(graph.nodes()).containsExactly(N1); } @Test public void nodes_noNodes() { assertThat(graph.nodes()).isEmpty(); } @Test public void adjacentNodes_oneEdge() { putEdge(N1, N2);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 16.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java
@BeforeExperiment void setUp() { map.put(TEST_KEY, TEST_VALUE); cache.put(TEST_KEY, TEST_VALUE); cacheNoStats.put(TEST_KEY, TEST_VALUE); } @Benchmark void concurrentHashMap(int rep) { for (int i = 0; i < rep; i++) { map.get(TEST_KEY); } } @Benchmark void cacheBuilder_stats(int rep) { for (int i = 0; i < rep; i++) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* explicit {@code testEquals()} test in the corresponding {@code CTest} class, and {@code C} will * be excluded from the automated {@code equals} test performed by this method. */ @Test public void testEquals() throws Exception { for (Class<?> classToTest : findClassesToTest(loadClassesInPackage(), EQUALS_TEST_METHOD_NAMES)) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
import org.checkerframework.checker.nullness.qual.Nullable; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for {@link StandardMutableValueGraph} and related functionality. */ // TODO(user): Expand coverage and move to proper test suite. @RunWith(JUnit4.class) public final class ValueGraphTest { private static final String DEFAULT = "default";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 17.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphsTest.java
checkTransitiveClosure(undirectedGraph, expectedClosure); } @Test public void transpose_undirectedGraph() { MutableGraph<Integer> undirectedGraph = GraphBuilder.undirected().build(); undirectedGraph.putEdge(N1, N2); assertThat(transpose(undirectedGraph)).isSameInstanceAs(undirectedGraph); } @Test public void transpose_directedGraph() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java
directedNetwork = mutableDirectedNetwork; undirectedNetwork = mutableUndirectedNetwork; } @Test public void hasCycle_emptyGraph() { assertThat(hasCycle(directedGraph)).isFalse(); assertThat(hasCycle(undirectedGraph)).isFalse(); } @Test public void hasCycle_isolatedNodes() { for (MutableGraph<Integer> graph : graphsToTest) { graph.addNode(1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 19 21:11:54 GMT 2017 - 5.7K bytes - Viewed (0)