Home
last modified time | relevance | path

Searched refs:INTEGER_MANY_VALUES_MEAN (Results 1 – 6 of 6) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/math/
DStatsTesting.java164 static final double INTEGER_MANY_VALUES_MEAN = (11.0 - 22.0 + 3333.0 - 4444.0 + 555555.0) / 5; field in StatsTesting
166 (11.0 - INTEGER_MANY_VALUES_MEAN) * (11.0 - INTEGER_MANY_VALUES_MEAN)
167 + (-22.0 - INTEGER_MANY_VALUES_MEAN) * (-22.0 - INTEGER_MANY_VALUES_MEAN)
168 + (3333.0 - INTEGER_MANY_VALUES_MEAN) * (3333.0 - INTEGER_MANY_VALUES_MEAN)
169 + (-4444.0 - INTEGER_MANY_VALUES_MEAN) * (-4444.0 - INTEGER_MANY_VALUES_MEAN)
170 + (555555.0 - INTEGER_MANY_VALUES_MEAN) * (555555.0 - INTEGER_MANY_VALUES_MEAN);
DStatsTest.java27 import static com.google.common.math.StatsTesting.INTEGER_MANY_VALUES_MEAN;
148 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testMean()
149 .of(INTEGER_MANY_VALUES_MEAN); in testMean()
151 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testMean()
152 .of(INTEGER_MANY_VALUES_MEAN); in testMean()
185 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testSum()
186 .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT); in testSum()
188 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testSum()
189 .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT); in testSum()
545 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testMeanOf()
[all …]
DStatsAccumulatorTest.java24 import static com.google.common.math.StatsTesting.INTEGER_MANY_VALUES_MEAN;
272 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testMean()
273 .of(INTEGER_MANY_VALUES_MEAN); in testMean()
314 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testSum()
315 .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT); in testSum()
/external/guava/guava-tests/test/com/google/common/math/
DStatsTesting.java165 static final double INTEGER_MANY_VALUES_MEAN = (11.0 - 22.0 + 3333.0 - 4444.0 + 555555.0) / 5; field in StatsTesting
167 (11.0 - INTEGER_MANY_VALUES_MEAN) * (11.0 - INTEGER_MANY_VALUES_MEAN)
168 + (-22.0 - INTEGER_MANY_VALUES_MEAN) * (-22.0 - INTEGER_MANY_VALUES_MEAN)
169 + (3333.0 - INTEGER_MANY_VALUES_MEAN) * (3333.0 - INTEGER_MANY_VALUES_MEAN)
170 + (-4444.0 - INTEGER_MANY_VALUES_MEAN) * (-4444.0 - INTEGER_MANY_VALUES_MEAN)
171 + (555555.0 - INTEGER_MANY_VALUES_MEAN) * (555555.0 - INTEGER_MANY_VALUES_MEAN);
DStatsTest.java28 import static com.google.common.math.StatsTesting.INTEGER_MANY_VALUES_MEAN;
158 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testMean()
159 .of(INTEGER_MANY_VALUES_MEAN); in testMean()
161 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testMean()
162 .of(INTEGER_MANY_VALUES_MEAN); in testMean()
195 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testSum()
196 .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT); in testSum()
198 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testSum()
199 .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT); in testSum()
610 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testMeanOf()
[all …]
DStatsAccumulatorTest.java24 import static com.google.common.math.StatsTesting.INTEGER_MANY_VALUES_MEAN;
279 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testMean()
280 .of(INTEGER_MANY_VALUES_MEAN); in testMean()
321 .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN) in testSum()
322 .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT); in testSum()