#include "tracing/tracing/value/running_statistics.h"
#include <limits>
#include "testing/gtest/include/gtest/gtest.h"
namespace catapult {
TEST(RunningStatisticsUnittest, GetsCountRight) { … }
TEST(RunningStatisticsUnittest, ComputesMean) { … }
TEST(RunningStatisticsUnittest, MeanIsInfiniteIfInfiniteSampleAdded) { … }
TEST(RunningStatisticsUnittest, ComputesMaxAndMin) { … }
TEST(RunningStatisticsUnittest, ComputesMeanLogs) { … }
TEST(RunningStatisticsUnittest, MeanlogsGoInvalidIfNegativeSampleAdded) { … }
TEST(RunningStatisticsUnittest, ComputesVariance) { … }
TEST(RunningStatisticsUnittest, VarianceIsZeroForOneSample) { … }
}