- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 814 for assertequal (0.26 sec)
-
android/guava-tests/test/com/google/common/collect/HashingTest.java
assertEquals(-100883544, smear(-1661998771)); assertEquals(1312247346, smear(-65105105)); assertEquals(-79641824, smear(-73789608)); assertEquals(1739416943, smear(-518907128)); assertEquals(483849880, smear(99135751)); assertEquals(1797032732, smear(-252332814)); assertEquals(329701497, smear(755814641)); assertEquals(-1411506712, smear(1180918287)); assertEquals(-132448996, smear(1344049776));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 5.9K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
assertEquals("0 B", format.format(_0_bytes)); assertEquals("0 B", format.format(_0_bytes, ScaleUnit.BYTE)); assertEquals("0 kB", format.format(_0_bytes, ScaleUnit.KILOBYTE)); assertEquals("0 MB", format.format(_0_bytes, ScaleUnit.MEGABYTE)); assertEquals("0 GB", format.format(_0_bytes, ScaleUnit.GIGABYTE)); long _5_bytes = 5L; assertEquals("5 B", format.format(_5_bytes));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedListsTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); assertThrows(UnsupportedOperationException.class, () -> iterator.remove()); } @SuppressWarnings("DoNotCall") public void testAdd() { ListIterator<String> iterator = create(); assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); assertEquals("b", iterator.next());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
String key = "key"; assertEquals(0L, map.get(key)); assertFalse(map.containsKey(key)); assertEquals(1L, map.incrementAndGet(key)); assertEquals(1L, map.get(key)); assertEquals(0L, map.decrementAndGet(key)); assertEquals(0L, map.get(key)); assertTrue(map.containsKey(key)); assertEquals(1L, map.incrementAndGet(key)); assertEquals(1L, map.get(key)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/LogTests.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.it.admin; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.fail; import java.util.HashMap; import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.Tag;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CaseFormatTest.java
assertEquals("foo", LOWER_HYPHEN.to(LOWER_CAMEL, "foo")); assertEquals("fooBar", LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar")); } public void testLowerHyphenToUpperCamel() { assertEquals("Foo", LOWER_HYPHEN.to(UPPER_CAMEL, "foo")); assertEquals("FooBar", LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar")); } public void testLowerHyphenToUpperUnderscore() { assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 8.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
public void testComputeIfPresent_supportedPresent() { assertEquals( "computeIfPresent(present, function) should return new value", v3(), getMap() .computeIfPresent( k0(), (k, v) -> { assertEquals(k0(), k); assertEquals(v0(), v); return v3(); }));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
checkContains(range); assertTrue(range.hasLowerBound()); assertEquals(4, (int) range.lowerEndpoint()); assertEquals(OPEN, range.lowerBoundType()); assertTrue(range.hasUpperBound()); assertEquals(8, (int) range.upperEndpoint()); assertEquals(OPEN, range.upperBoundType()); assertFalse(range.isEmpty()); assertEquals("(4..8)", range.toString()); reserializeAndAssert(range); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.9K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertEquals("1.0", range.getSelectedVersion(artifact).toString(), CHECK_SELECTED_VERSION); range = VersionRange.createFromVersionSpec("[1.0]"); restrictions = range.getRestrictions(); assertEquals(1, restrictions.size(), CHECK_NUM_RESTRICTIONS); restriction = restrictions.get(0); assertEquals("1.0", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 44.3K bytes - Viewed (0)