- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 50 for assertWithMessage (1 sec)
-
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
assertWithMessage("Float value of %s", unsignedValue) .that(unsignedValue.floatValue()) .isEqualTo(unsignedValue.bigIntegerValue().floatValue()); } } public void testDoubleValue() { for (long value : TEST_LONGS) { UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value); assertWithMessage("Double value of %s", unsignedValue)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
assertWithMessage("Float value of %s", unsignedValue) .that(unsignedValue.floatValue()) .isEqualTo(unsignedValue.bigIntegerValue().floatValue()); } } public void testDoubleValue() { for (long value : TEST_LONGS) { UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value); assertWithMessage("Double value of %s", unsignedValue)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
if (expected == 0) { assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected); } else if (expected < 0) { assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual) .that(actual < 0) .isTrue(); } else { assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static com.google.common.util.concurrent.MoreExecutors.shutdownAndAwaitTermination; import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsTest.java
double populationCovariance = stats.populationCovariance(); if (values.hasAnyNonFinite()) { assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN(); } else { assertWithMessage("population covariance of %s", values) .that(populationCovariance) .isWithin(ALLOWED_ERROR)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
double populationCovariance = stats.populationCovariance(); if (values.hasAnyNonFinite()) { assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN(); } else { assertWithMessage("population covariance of %s", values) .that(populationCovariance) .isWithin(ALLOWED_ERROR)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 14K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static com.google.common.util.concurrent.MoreExecutors.shutdownAndAwaitTermination; import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.truth.Truth.assertWithMessage; import static java.lang.reflect.Modifier.PRIVATE; import static java.lang.reflect.Modifier.PROTECTED; import static java.lang.reflect.Modifier.PUBLIC; import static java.util.Arrays.asList;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CaseFormatTest.java
public void testIdentity() { for (CaseFormat from : CaseFormat.values()) { assertWithMessage("%s to %s", from, from).that(from.to(from, "foo")).isSameInstanceAs("foo"); for (CaseFormat to : CaseFormat.values()) { assertWithMessage("%s to %s", from, to).that(from.to(to, "")).isEmpty(); assertWithMessage("%s to %s", from, to).that(from.to(to, " ")).isEqualTo(" "); } } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
package com.google.common.base; import static com.google.common.base.StandardSystemProperty.JAVA_COMPILER; import static com.google.common.base.StandardSystemProperty.JAVA_EXT_DIRS; import static com.google.common.truth.Truth.assertWithMessage; import com.google.common.annotations.GwtIncompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link StandardSystemProperty}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0)