- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 134 for testEqual (0.06 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
for (Integer node : graph.nodes()) { new EqualsTester() .addEqualityGroup( graph.predecessors(node), graph.successors(node), graph.adjacentNodes(node)) .testEquals(); } } @Override @Test public void nodes_checkReturnedSetMutability() { assume().that(graphIsMutable()).isTrue(); Set<Integer> nodes = graph.nodes();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
.put(4, 4) .put(5, 5) .put(6, 6) .buildOrThrow(); assertNotNull(map.keySet().spliterator().trySplit()); } public void testEquals() { new EqualsTester() .addEqualityGroup( ImmutableMap.of(), ImmutableMap.builder().buildOrThrow(), ImmutableMap.ofEntries(), map())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
if (EVEN.apply(i)) { expected.add(i); } } new EqualsTester() .addEqualityGroup(expected, filter(createUnfiltered(contents), EVEN)) .testEquals(); } } } public abstract static class AbstractFilteredSortedSetTest<C extends SortedSet<Integer>> extends AbstractFilteredSetTest<C> { public void testFirst() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
EqualsTester tester = new EqualsTester(); for (int i = 0; i < instances; i++) { tester.addEqualityGroup(generator.generateFresh(type)); } tester.testEquals(); } private static <T> void assertEqualInstance(Class<T> type, T value) { FreshValueGenerator generator = new FreshValueGenerator(); assertEquals(value, generator.generateFresh(type));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 17.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
.addEqualityGroup(new TypeToken<List<Integer>>() {}.method(setMethod)) .addEqualityGroup(new TypeToken<List<String>>() {}.method(setMethod)) .testEquals(); } private interface Loser<E extends Throwable> { void lose() throws E; } public <T extends Loser<AssertionError>> void testMethod_exceptionTypes()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
oos.writeObject(keySet); oos.writeObject(values); oos.close(); int finalSize = bytes.size(); assertThat(finalSize - mapSize).isLessThan(100); } public void testEquals() { new EqualsTester() .addEqualityGroup( ImmutableMap.of(), ImmutableMap.builder().buildOrThrow(), ImmutableMap.ofEntries(), map())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
.addEqualityGroup(parse("softValues"), parse("softValues")) .addEqualityGroup(parse("weakValues"), parse("weakValues")) .addEqualityGroup(parse("recordStats"), parse("recordStats")) .testEquals(); } @SuppressWarnings("ReturnValueIgnored") public void testMaximumWeight_withWeigher() { CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
EqualsTester tester = new EqualsTester(); for (int i = 0; i < instances; i++) { tester.addEqualityGroup(generator.generateFresh(type)); } tester.testEquals(); } private static <T> void assertEqualInstance(Class<T> type, T value) { FreshValueGenerator generator = new FreshValueGenerator(); assertEquals(value, generator.generateFresh(type));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 18.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
.addEqualityGroup(idn("www.google.com")) .addEqualityGroup(UNICODE_EXAMPLE) .addEqualityGroup(PUNYCODE_EXAMPLE) .testEquals(); } private static InternetDomainName idn(String domain) { return InternetDomainName.from(domain); } @J2ktIncompatible @GwtIncompatible // NullPointerTester
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 17.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
multimap.put("b", 2); multimap.put("a", 3); multimap.put("c", 4); LinkedHashMultimap<String, Integer> copy = LinkedHashMultimap.create(multimap); new EqualsTester().addEqualityGroup(multimap, copy).testEquals(); } public void testCreateFromSizes() { LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(20, 15); multimap.put("foo", 1); multimap.put("bar", 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0)