- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 814 for assertequal (0.06 sec)
-
src/test/java/jcifs/tests/RandomAccessFileTest.java
writeRandom(bufSize, l, raf); assertEquals(l, raf.getFilePointer()); raf.seek(0); assertEquals(0, raf.getFilePointer()); verifyRandom(bufSize, l, raf); assertEquals(l, raf.getFilePointer()); } assertEquals(l, f.length()); } finally {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
SIP_WITH_KEY.hashBytes(col2), SIP_WITH_KEY.hashBytes(col3)); assertEquals(3, hashCodes.size()); } public void testToString() { assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITH_KEY.toString()); assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITHOUT_KEY.toString()); assertEquals("Hashing.sipHash24(20, 13)", Hashing.sipHash24(20, 13).toString()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
SIP_WITH_KEY.hashBytes(col2), SIP_WITH_KEY.hashBytes(col3)); assertEquals(3, hashCodes.size()); } public void testToString() { assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITH_KEY.toString()); assertEquals("Hashing.sipHash24(" + K0 + ", " + K1 + ")", SIP_WITHOUT_KEY.toString()); assertEquals("Hashing.sipHash24(20, 13)", Hashing.sipHash24(20, 13).toString()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// this getUnchecked() call shouldn't be a cache miss; verified below assertEquals(newValue, cache.getUnchecked(entry.getKey())); assertEquals(entry.getValue(), cache.getUnchecked(newKey)); // don't let the new entry get GCed warmed.add(entryOf(newKey, entry.getValue())); } assertEquals(WARMUP_SIZE, cache.stats().missCount()); checkValidState(cache); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java
result = "http://www.foo.com"; assertEquals(result, duplicateHostHelper.convert(url)); url = "http://foo.com/"; result = "http://www.foo.com/"; assertEquals(result, duplicateHostHelper.convert(url)); url = "http://foo.com:8080/"; result = "http://www.foo.com:8080/"; assertEquals(result, duplicateHostHelper.convert(url));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
public void testToString() { assertEquals("foo", entry("foo", 1).toString()); assertEquals("bar x 2", entry("bar", 2).toString()); } public void testToStringNull() { assertEquals("null", entry(NE, 1).toString()); assertEquals("null x 2", entry(NE, 2).toString()); } public void testEquals() { assertEquals(control("foo", 1), entry("foo", 1)); assertEquals(control("bar", 2), entry("bar", 2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
return singletonMap(key, value).entrySet().iterator().next(); } public void testToString() { assertEquals("foo=1", entry("foo", 1).toString()); } public void testToStringNull() { assertEquals("null=1", entry(NK, 1).toString()); assertEquals("foo=null", entry("foo", NV).toString()); assertEquals("null=null", entry(NK, NV).toString()); } public void testEquals() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertExecutionException(future, ex); assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); runnable = new ThrowingRunnable(5, ex); future = service.scheduleWithFixedDelay(runnable, 1, 1, MILLISECONDS); assertExecutionException(future, ex); assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
assertEquals(size - 2, tail.lastIndexOf(list.get(size - 1))); // The following assumes all elements are distinct. assertEquals(0, copy.lastIndexOf(list.get(0))); assertEquals(0, head.lastIndexOf(list.get(0))); assertEquals(0, tail.lastIndexOf(list.get(1))); assertEquals(-1, head.lastIndexOf(list.get(size - 1))); assertEquals(-1, tail.lastIndexOf(list.get(0))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
assertEquals(size - 2, tail.lastIndexOf(list.get(size - 1))); // The following assumes all elements are distinct. assertEquals(0, copy.lastIndexOf(list.get(0))); assertEquals(0, head.lastIndexOf(list.get(0))); assertEquals(0, tail.lastIndexOf(list.get(1))); assertEquals(-1, head.lastIndexOf(list.get(size - 1))); assertEquals(-1, tail.lastIndexOf(list.get(0))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0)