Home
last modified time | relevance | path

Searched refs:MANY_VALUES (Results 1 – 10 of 10) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/math/
DStatsAccumulatorTest.java33 import static com.google.common.math.StatsTesting.MANY_VALUES;
111 manyValuesAccumulatorByAddAllIterable.addAll(MANY_VALUES); in setUp()
114 manyValuesAccumulatorByAddAllIterator.addAll(MANY_VALUES.iterator()); in setUp()
117 manyValuesAccumulatorByAddAllVarargs.addAll(Doubles.toArray(MANY_VALUES)); in setUp()
120 for (double value : MANY_VALUES) { in setUp()
125 manyValuesAccumulatorByAddAndAddAll.add(MANY_VALUES.get(0)); in setUp()
126 manyValuesAccumulatorByAddAndAddAll.addAll(MANY_VALUES.subList(1, MANY_VALUES.size())); in setUp()
130 Stats.of(MANY_VALUES.subList(0, MANY_VALUES.size() / 2))); in setUp()
132 Stats.of(MANY_VALUES.subList(MANY_VALUES.size() / 2, MANY_VALUES.size()))); in setUp()
136 statsAccumulatorOf(MANY_VALUES.subList(0, MANY_VALUES.size() / 2))); in setUp()
[all …]
DPairedStatsAccumulatorTest.java22 import static com.google.common.math.StatsTesting.MANY_VALUES;
97 manyValuesAccumulator = createFilledPairedStatsAccumulator(MANY_VALUES, OTHER_MANY_VALUES); in setUp()
99 createPartitionedFilledPairedStatsAccumulator(MANY_VALUES, OTHER_MANY_VALUES, 2); in setUp()
103 MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE)); in setUp()
106 MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE), 2); in setUp()
337 createFilledPairedStatsAccumulator(MANY_VALUES, values.asIterable()); in testPearsonsCorrelationCoefficient()
339 createPartitionedFilledPairedStatsAccumulator(MANY_VALUES, values.asIterable(), 2); in testPearsonsCorrelationCoefficient()
DStatsTesting.java132 static final ImmutableList<Double> MANY_VALUES = field in StatsTesting
223 static final Stats MANY_VALUES_STATS_ITERABLE = Stats.of(MANY_VALUES);
224 static final Stats MANY_VALUES_STATS_ITERATOR = Stats.of(MANY_VALUES.iterator());
238 accumulator.addAll(MANY_VALUES); in buildManyValuesStatsSnapshot()
281 createPairedStatsOf(MANY_VALUES, OTHER_MANY_VALUES);
288 createFilledPairedStatsAccumulator(MANY_VALUES, OTHER_MANY_VALUES); in buildManyValuesPairedStats()
296 for (double x : MANY_VALUES) { in buildHorizontalValuesPairedStats()
DPairedStatsTest.java27 import static com.google.common.math.StatsTesting.MANY_VALUES;
170 PairedStats stats = createPairedStatsOf(MANY_VALUES, values.asIterable()); in testPearsonsCorrelationCoefficient()
DStatsTest.java48 import static com.google.common.math.StatsTesting.MANY_VALUES;
542 assertThat(Stats.meanOf(MANY_VALUES)).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN); in testMeanOf()
543 assertThat(Stats.meanOf(MANY_VALUES.iterator())).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN); in testMeanOf()
/external/guava/guava-tests/test/com/google/common/math/
DStatsAccumulatorTest.java33 import static com.google.common.math.StatsTesting.MANY_VALUES;
118 manyValuesAccumulatorByAddAllIterable.addAll(MANY_VALUES); in setUp()
121 manyValuesAccumulatorByAddAllIterator.addAll(MANY_VALUES.iterator()); in setUp()
124 manyValuesAccumulatorByAddAllVarargs.addAll(Doubles.toArray(MANY_VALUES)); in setUp()
127 for (double value : MANY_VALUES) { in setUp()
132 manyValuesAccumulatorByAddAndAddAll.add(MANY_VALUES.get(0)); in setUp()
133 manyValuesAccumulatorByAddAndAddAll.addAll(MANY_VALUES.subList(1, MANY_VALUES.size())); in setUp()
137 Stats.of(MANY_VALUES.subList(0, MANY_VALUES.size() / 2))); in setUp()
139 Stats.of(MANY_VALUES.subList(MANY_VALUES.size() / 2, MANY_VALUES.size()))); in setUp()
143 statsAccumulatorOf(MANY_VALUES.subList(0, MANY_VALUES.size() / 2))); in setUp()
[all …]
DPairedStatsAccumulatorTest.java22 import static com.google.common.math.StatsTesting.MANY_VALUES;
97 manyValuesAccumulator = createFilledPairedStatsAccumulator(MANY_VALUES, OTHER_MANY_VALUES); in setUp()
99 createPartitionedFilledPairedStatsAccumulator(MANY_VALUES, OTHER_MANY_VALUES, 2); in setUp()
103 MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE)); in setUp()
106 MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE), 2); in setUp()
337 createFilledPairedStatsAccumulator(MANY_VALUES, values.asIterable()); in testPearsonsCorrelationCoefficient()
339 createPartitionedFilledPairedStatsAccumulator(MANY_VALUES, values.asIterable(), 2); in testPearsonsCorrelationCoefficient()
DStatsTesting.java133 static final ImmutableList<Double> MANY_VALUES = field in StatsTesting
252 static final Stats MANY_VALUES_STATS_ITERABLE = Stats.of(MANY_VALUES);
253 static final Stats MANY_VALUES_STATS_ITERATOR = Stats.of(MANY_VALUES.iterator());
267 accumulator.addAll(MANY_VALUES); in buildManyValuesStatsSnapshot()
310 createPairedStatsOf(MANY_VALUES, OTHER_MANY_VALUES);
317 createFilledPairedStatsAccumulator(MANY_VALUES, OTHER_MANY_VALUES); in buildManyValuesPairedStats()
325 for (double x : MANY_VALUES) { in buildHorizontalValuesPairedStats()
DPairedStatsTest.java27 import static com.google.common.math.StatsTesting.MANY_VALUES;
170 PairedStats stats = createPairedStatsOf(MANY_VALUES, values.asIterable()); in testPearsonsCorrelationCoefficient()
DStatsTest.java49 import static com.google.common.math.StatsTesting.MANY_VALUES;
607 assertThat(Stats.meanOf(MANY_VALUES)).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN); in testMeanOf()
608 assertThat(Stats.meanOf(MANY_VALUES.iterator())).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN); in testMeanOf()