- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 814 for assertequal (0.07 sec)
-
guava-tests/test/com/google/common/hash/HashingTest.java
assertEquals(golden100[i], Hashing.consistentHash(i, 100)); } assertEquals(6, Hashing.consistentHash(10863919174838991L, 11)); assertEquals(3, Hashing.consistentHash(2016238256797177309L, 11)); assertEquals(5, Hashing.consistentHash(1673758223894951030L, 11)); assertEquals(80343, Hashing.consistentHash(2, 100001)); assertEquals(22152, Hashing.consistentHash(2201, 100001));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
assertNull(Optional.toJavaUtil(null)); assertEquals(java.util.Optional.empty(), Optional.toJavaUtil(Optional.absent())); assertEquals(java.util.Optional.of("abc"), Optional.toJavaUtil(Optional.of("abc"))); } public void testToJavaUtil_instance() { assertEquals(java.util.Optional.empty(), Optional.absent().toJavaUtil()); assertEquals(java.util.Optional.of("abc"), Optional.of("abc").toJavaUtil()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
assertEquals(1, Iterators.size(registry.getSubscribers(1))); registry.register(new IntegerSubscriber()); assertEquals(3, Iterators.size(registry.getSubscribers(""))); assertEquals(1, Iterators.size(registry.getSubscribers(new Object()))); assertEquals(2, Iterators.size(registry.getSubscribers(1))); } public void testGetSubscribers_returnsImmutableSnapshot() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertEquals("", MoreFiles.getFileExtension(root())); assertEquals("", MoreFiles.getFileExtension(FS.getPath("."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath(".."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("..."))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah"))); assertEquals("", MoreFiles.getFileExtension(FS.getPath("blah.")));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
import java.util.function.Consumer; import java.util.logging.Logger; import static org.codelibs.curl.io.ContentOutputStream.PREFIX; import static org.codelibs.curl.io.ContentOutputStream.SUFFIX; import static org.junit.Assert.assertEquals; public class IOIntegrationTest { private static final Logger logger = Logger.getLogger(IOIntegrationTest.class.getName()); class MockCurlRequest extends CurlRequest {
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/AppendableWriterTest.java
writer.write(','); writer.write(0xBEEF0020); // only lower 16 bits are important writer.write("Wo"); writer.write("Whirled".toCharArray(), 3, 2); writer.write("Mad! Mad, I say", 2, 2); assertEquals("Hello, World!", builder.toString()); } public void testAppendMethods() throws IOException { StringBuilder builder = new StringBuilder(); Writer writer = new AppendableWriter(builder);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(short.class)); assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(Short.class)); assertEquals(Integer.valueOf(0), ArbitraryInstances.get(int.class)); assertEquals(Integer.valueOf(0), ArbitraryInstances.get(Integer.class)); assertEquals(Long.valueOf(0), ArbitraryInstances.get(long.class));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
org.setUrl("https://maven.localdomain"); assertEquals("Organization {name=Testing Maven Unit, url=https://maven.localdomain}", org.toString()); } public void testToStringNotNonsense10() { Organization org = new Organization(); org.setName("Testing Maven Unit"); assertEquals("Organization {name=Testing Maven Unit, url=null}", org.toString()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(0, actual.indexOf(list(1, 3))); assertEquals(1, actual.indexOf(list(1, 4))); assertEquals(2, actual.indexOf(list(2, 3))); assertEquals(3, actual.indexOf(list(2, 4))); assertEquals(-1, actual.indexOf(list(3, 1))); assertEquals(-1, actual.indexOf(list(1))); assertEquals(-1, actual.indexOf(list(1, 1, 1))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0)