Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for testSum (0.08 sec)

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

            .of(LONG_MANY_VALUES_MEAN);
        assertThat(longManyValuesAccumulatorByAddAllVarargs.mean())
            .isWithin(ALLOWED_ERROR * LONG_MANY_VALUES_MEAN)
            .of(LONG_MANY_VALUES_MEAN);
      }
    
      public void testSum() {
        assertThat(emptyAccumulator.sum()).isEqualTo(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyIterable.sum()).isEqualTo(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyStats.sum()).isEqualTo(0.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)
  2. guava-tests/test/com/google/common/math/StatsTest.java

            .of(LONG_MANY_VALUES_MEAN);
        assertThat(LARGE_LONG_VALUES_STATS.mean())
            .isWithin(ALLOWED_ERROR * Long.MAX_VALUE)
            .of(LARGE_LONG_VALUES_MEAN);
      }
    
      public void testSum() {
        assertThat(EMPTY_STATS_VARARGS.sum()).isEqualTo(0.0);
        assertThat(EMPTY_STATS_ITERABLE.sum()).isEqualTo(0.0);
        assertThat(ONE_VALUE_STATS.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

            .of(LONG_MANY_VALUES_MEAN);
        assertThat(longManyValuesAccumulatorByAddAllVarargs.mean())
            .isWithin(ALLOWED_ERROR * LONG_MANY_VALUES_MEAN)
            .of(LONG_MANY_VALUES_MEAN);
      }
    
      public void testSum() {
        assertThat(emptyAccumulator.sum()).isEqualTo(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyIterable.sum()).isEqualTo(0.0);
        assertThat(emptyAccumulatorByAddAllEmptyStats.sum()).isEqualTo(0.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)
  4. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        assertThrows(NullPointerException.class, () -> copyOf((Collection<String>) c));
      }
    
      enum TestEnum {
        A,
        B,
        C,
        D
      }
    
      public void testCopyOf_collection_enumSet() {
        Collection<TestEnum> c = EnumSet.of(TestEnum.A, TestEnum.B, TestEnum.D);
        Set<TestEnum> set = copyOf(c);
        assertEquals(3, set.size());
        assertEquals(c, set);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
          assertThrows(UnsupportedOperationException.class, () -> testInstance.clear());
        }
      }
    
      public final void testPut() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
          assertThrows(UnsupportedOperationException.class, () -> testInstance.put('a', 1, "blah"));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. Makefile

    	@MINIO_API_REQUESTS_MAX=10000 CGO_ENABLED=0 go test -timeout 15m -tags kqueue,dev -v -run TestIAM* ./cmd
    	@echo "Running tests for IAM (external IDP, etcd backends) with -race"
    	@MINIO_API_REQUESTS_MAX=10000 GORACE=history_size=7 CGO_ENABLED=1 go test -timeout 15m -race -tags kqueue,dev -v -run TestIAM* ./cmd
    
    test-iam-ldap-upgrade-import: install-race ## verify IAM (external LDAP IDP)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      @Override
      public void testNullPointerInstance() {}
    
      // put() and putAll() aren't supported.
      @Override
      public void testPut() {
        assertThrows(UnsupportedOperationException.class, () -> table.put("foo", 1, 'a'));
        assertSize(0);
      }
    
      @Override
      public void testPutAllTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            testType: TestType,
            os: Os,
            testJvm: JvmCategory,
            expectedBucketNumber: Int = DEFAULT_FUNCTIONAL_TEST_BUCKET_SIZE,
            buildJvm: Jvm = BuildToolBuildJvm,
            withoutDependencies: Boolean = false,
            arch: Arch = Arch.AMD64,
            failStage: Boolean = true,
        ) : this(uuid, testType, os, testJvm.version, testJvm.vendor, buildJvm, expectedBucketNumber, withoutDependencies, arch, failStage)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 06:14:14 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top