- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 140 for test_id (1.57 sec)
-
android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
ArithmeticException.class, () -> { UnsignedInteger unused = UnsignedInteger.fromIntBits(a).dividedBy(UnsignedInteger.ZERO); }); } } public void testMod() { for (int a : TEST_INTS) { for (int b : TEST_INTS) { if (b != 0) { UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
assertThat(list.getLast(), is("1")); list.getLastEntry().remove(); assertThat(list.size(), is(0)); } /** * @throws Exception */ @Test public void testAdd() throws Exception { list.addLast("1"); list.addLast("2"); list.addLast("3"); list.add(1, "4"); assertThat(list.get(1), is("4")); assertThat(list.get(2), is("2"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
.addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.FRANC, Country.CANADA))) .testEquals(); } /* Remaining behavior tested by AbstractBiMapTest. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
FORBIDDEN, /** Hostnames that contain this character are encoded with punycode. */ PUNYCODE, /** This code point is special and should not be tested. */ SKIP, ; open fun encode(codePoint: Int): String = throw UnsupportedOperationException() } enum class Component { USER {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
.addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.FRANC, Country.CANADA))) .testEquals(); } /* Remaining behavior tested by AbstractBiMapTest. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
@GwtIncompatible @J2ktIncompatible @NullMarked public final class ForwardingWrapperTester { private boolean testsEquals = false; /** * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding * wrappers of equal instances should be equal. */ @CanIgnoreReturnValue public ForwardingWrapperTester includingEquals() { this.testsEquals = true; return this; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
BigInteger halfEven = BigIntegerMath.sqrt(x, HALF_EVEN); // Now figure out what rounding mode we should behave like (it depends if FLOOR was // odd/even). boolean floorWasOdd = BigIntegerMath.sqrt(x, FLOOR).testBit(0); assertEquals(BigIntegerMath.sqrt(x, floorWasOdd ? HALF_UP : HALF_DOWN), halfEven); } } @GwtIncompatible // TODO @AndroidIncompatible // slow public void testDivNonZero() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
* declare any methods in this enum, converting assertFailsToDecode into a static method that is * implemented with a `switch`. I haven't tested that.) */ @GwtIncompatible // decodingStream(Reader) DECODING_STREAM { @Override void assertFailsToDecode(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
&& method.getParameterTypes().length != 0 // only the seeded hash functions && !method.getName().equals("concatenating") // don't test Hashing.concatenating() && !method.getName().equals("goodFastHash") // tested in testGoodFastHashEquals && !method.getName().startsWith("hmac")) { // skip hmac functions Object[] params1 = new Object[method.getParameterTypes().length];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
for (int i = 0; i < expected.length; i++) { assertEquals(expected[i], got[i]); } } } // Assumes that AbstractNonStreamingHashFunction works properly (must be tested elsewhere!) private static class Control extends AbstractNonStreamingHashFunction { @Override public HashCode hashBytes(byte[] input, int off, int len) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0)