Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 45 for assertWithMessage (0.19 seconds)

  1. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          if (values.hasAnyNaN()) {
            assertWithMessage("mean of %s", values).that(mean).isNaN();
            assertWithMessage("mean by addAll(Stats) of %s", values).that(meanByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) {
            assertWithMessage("mean of %s", values).that(mean).isNaN();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/StatsTest.java

          if (values.hasAnyNaN()) {
            assertWithMessage("mean of %s", values).that(mean).isNaN();
          } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) {
            assertWithMessage("mean of %s", values).that(mean).isNaN();
          } else if (values.hasAnyPositiveInfinity()) {
            assertWithMessage("mean of %s", values).that(mean).isPositiveInfinity();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

          if (values.hasAnyNonFinite()) {
            assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN();
            assertWithMessage("population covariance by addAll(PairedStats) of %s", values)
                .that(populationCovarianceByAddAllPartitionedPairedStats)
                .isNaN();
          } else {
            assertWithMessage("population covariance of %s", values)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  4. 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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          if (values.hasAnyNaN()) {
            assertWithMessage("mean of %s", values).that(mean).isNaN();
            assertWithMessage("mean by addAll(Stats) of %s", values).that(meanByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) {
            assertWithMessage("mean of %s", values).that(mean).isNaN();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.tryParse("9999999999999999")).isNull();
        assertWithMessage("Max integer + 1")
            .that(Ints.tryParse(Long.toString(((long) GREATEST) + 1)))
            .isNull();
        assertWithMessage("Max integer * 10")
            .that(Ints.tryParse(Long.toString(((long) GREATEST) * 10)))
            .isNull();
        assertWithMessage("Min integer - 1")
            .that(Ints.tryParse(Long.toString(((long) LEAST) - 1)))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  7. 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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  8. 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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

            .that(actual.keyEquivalence)
            .isEqualTo(expected.keyEquivalence);
        assertWithMessage("keyStrength").that(actual.keyStrength).isEqualTo(expected.keyStrength);
        assertWithMessage("removalListener")
            .that(actual.removalListener)
            .isEqualTo(expected.removalListener);
        assertWithMessage("weigher").that(actual.weigher).isEqualTo(expected.weigher);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

          assertWithMessage("Creator should not have been called @#%s", i)
              .that(loader.wasCalled())
              .isFalse();
        }
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
    
        assertWithMessage("Map must be empty by now").that(cache.size()).isEqualTo(0);
        assertWithMessage("Eviction notifications must be received")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
Back to Top