Lines Matching refs:integer
51 using axis::integer; in main()
52 BOOST_TEST_TRAIT_SAME(decltype(integer(1, 2)), integer<int, null_type>); in main()
53 BOOST_TEST_TRAIT_SAME(decltype(integer(1l, 2l)), integer<int, null_type>); in main()
54 BOOST_TEST_TRAIT_SAME(decltype(integer(1.0, 2.0)), integer<double, null_type>); in main()
55 BOOST_TEST_TRAIT_SAME(decltype(integer(1.0f, 2.0f)), integer<float, null_type>); in main()
56 BOOST_TEST_TRAIT_SAME(decltype(integer(1, 2, "foo")), integer<int, std::string>); in main()
57 BOOST_TEST_TRAIT_SAME(decltype(integer(1, 2, 0)), integer<int, int>); in main()
94 auto h = histogram(axis::regular(3, -1, 1), axis::integer(0, 4)); in main()
97 axis::integer<int, null_type>>>); in main()
99 BOOST_TEST_EQ(h.axis(1), axis::integer(0, 4)); in main()
103 auto h = histogram(std::tuple(axis::regular(3, -1, 1), axis::integer(0, 4)), in main()
107 axis::integer<int, null_type>>, in main()
110 BOOST_TEST_EQ(h.axis(1), axis::integer(0, 4)); in main()