Lines Matching refs:acc
23 accumulator_set<int, stats<tag::rolling_count> > acc(tag::rolling_window::window_size = 3); in test_stat() local
25 BOOST_CHECK_EQUAL(0u, rolling_count(acc)); in test_stat()
27 acc(1); in test_stat()
28 BOOST_CHECK_EQUAL(1u, rolling_count(acc)); in test_stat()
30 acc(1); in test_stat()
31 BOOST_CHECK_EQUAL(2u, rolling_count(acc)); in test_stat()
33 acc(1); in test_stat()
34 BOOST_CHECK_EQUAL(3u, rolling_count(acc)); in test_stat()
36 acc(1); in test_stat()
37 BOOST_CHECK_EQUAL(3u, rolling_count(acc)); in test_stat()
39 acc(1); in test_stat()
40 BOOST_CHECK_EQUAL(3u, rolling_count(acc)); in test_stat()
50 accumulator_set<int, stats<tag::rolling_count> > acc(tag::rolling_window::window_size = 3); in test_persistency() local
51 acc(1); in test_persistency()
52 acc(1); in test_persistency()
53 acc(1); in test_persistency()
54 acc(1); in test_persistency()
55 acc(1); in test_persistency()
56 acc(1); in test_persistency()
57 BOOST_CHECK_EQUAL(3u, rolling_count(acc)); in test_persistency()
59 acc.serialize(oa, 0); in test_persistency()
61 accumulator_set<int, stats<tag::rolling_count> > acc(tag::rolling_window::window_size = 3); in test_persistency() local
63 acc.serialize(ia, 0); in test_persistency()
64 BOOST_CHECK_EQUAL(3u, rolling_count(acc)); in test_persistency()