- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for testMean (0.03 sec)
-
android/guava-tests/test/com/google/common/math/IntMathTest.java
assertThrows(IllegalArgumentException.class, () -> IntMath.binomial(n, 0)); } } @AndroidIncompatible // slow @GwtIncompatible // java.math.BigInteger public void testMean() { // Odd-sized ranges have an obvious mean assertMean(2, 1, 3); assertMean(-2, -3, -1); assertMean(0, -1, 1); assertMean(1, -1, 3); assertMean((1 << 30) - 1, -1, Integer.MAX_VALUE);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
} // Should overflow without throwing. accumulator.addAll(accumulator.snapshot()); assertThat(accumulator.count()).isLessThan(0L); } public void testMean() { assertThrows(IllegalStateException.class, () -> emptyAccumulator.mean()); assertThrows(IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyIterable.mean());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 36.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
long sqrtMaxLong = (long) Math.sqrt(Long.MAX_VALUE); assertTrue(sqrtMaxLong <= LongMath.FLOOR_SQRT_MAX_LONG); } @AndroidIncompatible // slow @GwtIncompatible // java.math.BigInteger public void testMean() { // Odd-sized ranges have an obvious mean assertMean(2, 1, 3); assertMean(-2, -3, -1); assertMean(0, -1, 1); assertMean(1, -1, 3); assertMean((1L << 62) - 1, -1, Long.MAX_VALUE);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
} // Test validation with valid cron expressions public void test_validCronExpressions() { TestBean bean = new TestBean(); // Test null value (should be valid) bean.setCronExpression(null); Set<ConstraintViolation<TestBean>> violations = validator.validate(bean); assertTrue(violations.isEmpty()); // Test empty string (should be valid)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/archive/tar/reader_test.go
testRemaining{5, 5}, testRead{5, "hello", io.EOF}, testRemaining{0, 0}, }, }, { maker: makeReg{"hello, world", 50}, tests: []testFnc{ testRemaining{50, 50}, testRead{7, "hello, ", nil}, testRemaining{43, 43}, testRead{5, "world", nil}, testRemaining{38, 38}, testWriteTo{nil, 0, io.ErrUnexpectedEOF}, testRead{1, "", io.ErrUnexpectedEOF},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
src.ccc = " "; final DestBean dest = new DestBean(); BeanUtil.copyBeanToBean(src, dest); assertThat(dest.ccc, is(" ")); } /** * @throws Exception */ @Test public void testCopyBeanToBean_excludesWhitespace() throws Exception { final SrcBean src = new SrcBean(); src.ccc = " "; final DestBean dest = new DestBean();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* * <pre> * DestBean destBean = copyBeanToNewBean(srcBean, DestBean.class); * DestBean destBean = copyMapToNewBean(srcMap, DestBean.class); * Map<String, Object> destMap = copyBeanToNewMap(srcBean); * </pre> * <p> * It is also possible to specify options when copying. * </p> * * <pre> * import static org.codelibs.core.beans.util.CopyOptionsUtil.*; * * copyBeanToBean(srcBean, destBean, excludeNull()); * </pre>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.5K bytes - Viewed (0) -
docs/de/docs/advanced/settings.md
In manchen Fällen kann es nützlich sein, die Einstellungen mit einer Abhängigkeit bereitzustellen, anstatt ein globales Objekt `settings` zu haben, das überall verwendet wird. Dies könnte besonders beim Testen nützlich sein, da es sehr einfach ist, eine Abhängigkeit mit Ihren eigenen benutzerdefinierten Einstellungen zu überschreiben. ### Die Konfigurationsdatei
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 16.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java
* <pre> * import static org.codelibs.core.beans.util.CopyOptionsUtil.*; * * copyBeanToBean(srcBean, destBean, excludeNull()); * </pre> * <p> * The return value of {@literal CopyOptionsUtil} is {@link CopyOptions}, * so you can specify multiple options using method chaining. * </p> * * <pre> * copyBeanToBean(srcBean, destBean, excludeNull().dateConverter("date", "MM/dd")); * </pre> * * @author koichik */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.6K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
### Deklarieren Sie einen *Pfad-Parameter* Dann erstellen Sie einen *Pfad-Parameter*, der als Typ die gerade erstellte Enum-Klasse hat (`ModelName`): {* ../../docs_src/path_params/tutorial005.py hl[16] *} ### Testen Sie es in der API-Dokumentation Weil die erlaubten Werte für den *Pfad-Parameter* nun vordefiniert sind, kann die interaktive Dokumentation sie als Auswahl-Drop-Down anzeigen:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 10K bytes - Viewed (0)