- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for testMean (0.08 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
assertThat(LONG_MANY_VALUES_STATS_ITERATOR.count()).isEqualTo(LONG_MANY_VALUES_COUNT); assertThat(LONG_MANY_VALUES_STATS_SNAPSHOT.count()).isEqualTo(LONG_MANY_VALUES_COUNT); } public void testMean() { assertThrows(IllegalStateException.class, () -> EMPTY_STATS_VARARGS.mean()); assertThrows(IllegalStateException.class, () -> EMPTY_STATS_ITERABLE.mean());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K 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 Nov 05 11:13:11 UTC 2024 - 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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* * copyBeanToBean(srcBean, destBean); * </pre> * <p> * JavaBeansから{@link Map}あるいは{@link Map}からJavaBeansへコピーすることも出来ます。 * </p> * * <pre> * copyBeanToMap(srcBean, destMap); * copyMapToBean(srcMap, destBean); * </pre> * <p> * コピー先となるJavaBeansまたは{@link Map}のインスタンスを新たに生成してコピーすることも出来ます。 * </p> * * <pre> * DestBean destBean = copyBeanToNewBean(srcBean, DestBean.class);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17.7K bytes - Viewed (0)