Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for testSum (0.13 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/base/EnumsTest.java

        assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).isPresent();
    
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO);
        assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).hasValue(TestEnum.HONDA);
        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).hasValue(TestEnum.POODLE);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. cmd/kms-handlers_test.go

    				"Resource": ["arn:minio:kms:::non-matching-key-name"] }`,
    
    			wantStatusCode: http.StatusForbidden,
    			wantResp:       []string{"AccessDenied"},
    		},
    	}
    	for testNum, test := range tests {
    		t.Run(fmt.Sprintf("%d %s", testNum+1, test.name), func(t *testing.T) {
    			execKMSTest(t, test, adminTestBed)
    		})
    	}
    }
    
    func TestKMSHandlersKeyStatus(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. .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)
Back to top