diff --git a/test/sequence/transform_view.cpp b/test/sequence/transform_view.cpp index 554ac00f..b6e4ec4e 100644 --- a/test/sequence/transform_view.cpp +++ b/test/sequence/transform_view.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -82,6 +83,7 @@ main() BOOST_TEST((boost::fusion::distance(first_it, next_it) == 1)); BOOST_TEST((*boost::fusion::advance_c<3>(boost::fusion::begin(xform)) == 64)); + BOOST_TEST((boost::fusion::at_c<2>(xform) == 49)); } { @@ -95,6 +97,7 @@ main() std::cout << xform << std::endl; BOOST_TEST((xform == make_vector(15, 17, 19, 21))); + BOOST_TEST((boost::fusion::at_c<2>(xform) == 19)); } return boost::report_errors();