Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestCount (0.12 sec)

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

     * Tests for {@link Stats}. This tests instances created by both {@link Stats#of} and {@link
     * StatsAccumulator#snapshot}.
     *
     * @author Pete Gillin
     */
    public class StatsTest extends TestCase {
    
      public void testCount() {
        assertThat(EMPTY_STATS_VARARGS.count()).isEqualTo(0);
        assertThat(EMPTY_STATS_ITERABLE.count()).isEqualTo(0);
        assertThat(ONE_VALUE_STATS.count()).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator;
      }
    
      public void testCount() {
        assertThat(emptyAccumulator.count()).isEqualTo(0);
        assertThat(emptyAccumulatorByAddAllEmptyIterable.count()).isEqualTo(0);
        assertThat(emptyAccumulatorByAddAllEmptyStats.count()).isEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator;
      }
    
      public void testCount() {
        assertThat(emptyAccumulator.count()).isEqualTo(0);
        assertThat(emptyAccumulatorByAddAllEmptyIterable.count()).isEqualTo(0);
        assertThat(emptyAccumulatorByAddAllEmptyStats.count()).isEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top