Searched refs:oneValueAccumulator (Results 1 – 4 of 4) sorted by relevance
64 private PairedStatsAccumulator oneValueAccumulator; field in PairedStatsAccumulatorTest86 oneValueAccumulator = new PairedStatsAccumulator(); in setUp()87 oneValueAccumulator.add(ONE_VALUE, OTHER_ONE_VALUE); in setUp()129 assertThat(oneValueAccumulator.count()).isEqualTo(1); in testCount()152 assertStatsApproxEqual(ONE_VALUE_STATS, oneValueAccumulator.xStats()); in testXStats()165 assertStatsApproxEqual(OTHER_ONE_VALUE_STATS, oneValueAccumulator.yStats()); in testYStats()187 assertThat(oneValueAccumulator.populationCovariance()).isWithin(0.0).of(0.0); in testPopulationCovariance()255 oneValueAccumulator.sampleCovariance(); in testSampleCovariance()302 oneValueAccumulator.pearsonsCorrelationCoefficient(); in testPearsonsCorrelationCoefficient()415 oneValueAccumulator.leastSquaresFit(); in testLeastSquaresFit()
69 private StatsAccumulator oneValueAccumulator; field in StatsAccumulatorTest96 oneValueAccumulator = new StatsAccumulator(); in setUp()97 oneValueAccumulator.add(ONE_VALUE); in setUp()160 assertThat(oneValueAccumulator.count()).isEqualTo(1); in testCount()206 assertThat(oneValueAccumulator.mean()).isWithin(ALLOWED_ERROR).of(ONE_VALUE); in testMean()286 assertThat(oneValueAccumulator.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE); in testSum()340 assertThat(oneValueAccumulator.populationVariance()).isWithin(0.0).of(0.0); in testPopulationVariance()423 assertThat(oneValueAccumulator.populationStandardDeviation()).isWithin(0.0).of(0.0); in testPopulationStandardDeviation()482 oneValueAccumulator.sampleVariance(); in testSampleVariance()546 oneValueAccumulator.sampleStandardDeviation(); in testSampleStandardDeviation()[all …]
76 private StatsAccumulator oneValueAccumulator; field in StatsAccumulatorTest103 oneValueAccumulator = new StatsAccumulator(); in setUp()104 oneValueAccumulator.add(ONE_VALUE); in setUp()167 assertThat(oneValueAccumulator.count()).isEqualTo(1); in testCount()213 assertThat(oneValueAccumulator.mean()).isWithin(ALLOWED_ERROR).of(ONE_VALUE); in testMean()293 assertThat(oneValueAccumulator.sum()).isWithin(ALLOWED_ERROR).of(ONE_VALUE); in testSum()347 assertThat(oneValueAccumulator.populationVariance()).isWithin(0.0).of(0.0); in testPopulationVariance()430 assertThat(oneValueAccumulator.populationStandardDeviation()).isWithin(0.0).of(0.0); in testPopulationStandardDeviation()489 oneValueAccumulator.sampleVariance(); in testSampleVariance()553 oneValueAccumulator.sampleStandardDeviation(); in testSampleStandardDeviation()[all …]