- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 86 for IsFalse (0.07 sec)
-
guava-tests/test/com/google/common/primitives/DoublesTest.java
} } } public void testContains() { assertThat(Doubles.contains(EMPTY, (double) 1)).isFalse(); assertThat(Doubles.contains(ARRAY1, (double) 2)).isFalse(); assertThat(Doubles.contains(ARRAY234, (double) 1)).isFalse(); assertThat(Doubles.contains(new double[] {(double) -1}, (double) -1)).isTrue(); assertThat(Doubles.contains(ARRAY234, (double) 2)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
} } } public void testContains() { assertThat(Floats.contains(EMPTY, (float) 1)).isFalse(); assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse(); assertThat(Floats.contains(ARRAY234, (float) 1)).isFalse(); assertThat(Floats.contains(new float[] {(float) -1}, (float) -1)).isTrue(); assertThat(Floats.contains(ARRAY234, (float) 2)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
return super.contains(element); } } Collection<Integer> nums = new CollectionThatThrowsNPE<>(); Predicate<@Nullable Integer> isFalse = Predicates.in(nums); assertFalse(isFalse.apply(null)); } public void testIn_handlesClassCastException() { class CollectionThatThrowsCCE<T> extends ArrayList<T> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
} } } public void testContains() { assertThat(Ints.contains(EMPTY, (int) 1)).isFalse(); assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse(); assertThat(Ints.contains(ARRAY234, (int) 1)).isFalse(); assertThat(Ints.contains(new int[] {(int) -1}, (int) -1)).isTrue(); assertThat(Ints.contains(ARRAY234, (int) 2)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
.isEqualTo(Long.valueOf(x).compareTo(y)); } } } public void testContains() { assertThat(Longs.contains(EMPTY, (long) 1)).isFalse(); assertThat(Longs.contains(ARRAY1, (long) 2)).isFalse(); assertThat(Longs.contains(ARRAY234, (long) 1)).isFalse(); assertThat(Longs.contains(new long[] {(long) -1}, (long) -1)).isTrue(); assertThat(Longs.contains(ARRAY234, (long) 2)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} public void testTrustedGetFailure_notCompleted() { SettableFuture<String> future = SettableFuture.create(); assertThat(future.isDone()).isFalse(); assertThat(future.tryInternalFastPathGetFailure()).isNull(); } public void testTrustedGetFailure_canceledNoCause() { SettableFuture<String> future = SettableFuture.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
CAN_DECODE { @Override void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) { assertThat(encoding.canDecode(cannotDecode)).isFalse(); } }, DECODE { @Override void assertFailsToDecode( BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertThat(new TypeToken<List<? extends Number>>() {}.isSupertypeOf(fieldType)).isTrue(); assertThat(new TypeToken<List<? extends Iterable<?>>>() {}.isSupertypeOf(fieldType)).isFalse(); } public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasExplicitUpperBound() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
// flip GOLDEN_PRESENT_KEY to true even if it wasn't explicitly inserted // (false positive). assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isFalse(); for (int i = 0; i < NUM_PUTS; i++) { bloomFilter.put(getNonGoldenRandomKey()); } bloomFilter.put(GOLDEN_PRESENT_KEY); int numThreads = 12;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isCloseTo import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import java.io.IOException import java.net.CookieManager import java.net.HttpURLConnection
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0)