// tests requires a C++17 compatible compiler
-#define TEST BOOST_TEST_TRAIT_SAME
-
int main() {
using axis::null_type;
BOOST_TEST_TRAIT_SAME(decltype(category({1, 2}, 0)), category<int, int>);
}
+ {
+ using axis::boolean;
+ BOOST_TEST_TRAIT_SAME(decltype(boolean{}), boolean<null_type>);
+ BOOST_TEST_TRAIT_SAME(decltype(boolean{"foo"}), boolean<std::string>);
+ }
+
{
auto h = histogram(axis::regular(3, -1, 1), axis::integer(0, 4));
BOOST_TEST_TRAIT_SAME(decltype(h),