Lines Matching refs:acc2
34 accumulator_set<int, stats<tag::kurtosis > > acc2; in test_stat() local
49 acc2(2); in test_stat()
50 acc2(7); in test_stat()
51 acc2(4); in test_stat()
52 acc2(9); in test_stat()
53 acc2(3); in test_stat()
55 BOOST_CHECK_EQUAL( mean(acc2), 5 ); in test_stat()
56 BOOST_CHECK_EQUAL( accumulators::moment<2>(acc2), 159./5. ); in test_stat()
57 BOOST_CHECK_EQUAL( accumulators::moment<3>(acc2), 1171./5. ); in test_stat()
58 BOOST_CHECK_EQUAL( accumulators::moment<4>(acc2), 1863 ); in test_stat()
59 BOOST_CHECK_CLOSE( kurtosis(acc2), -1.39965397924, 1e-6 ); in test_stat()