Defines the check_finite_iterable
utility to ease unit testing of Iterable
s.
More...
#include <boost/mpl11/fwd/comparable.hpp>
#include <boost/mpl11/fwd/iterable.hpp>
#include <boost/mpl11/integer.hpp>
#include "minimal_iterable.hpp"
#include "static_assert.hpp"
Go to the source code of this file.
Typedefs | |
template<typename iter , typename... xs> | |
using | check_finite_iterable = check_finite_iter_detail::impl< minimal_iterable< xs...>, iter > |
Generic unit test for finite iterables. More... | |
Defines the check_finite_iterable
utility to ease unit testing of Iterable
s.
using check_finite_iterable = check_finite_iter_detail::impl<minimal_iterable<xs...>, iter> |
Generic unit test for finite iterables.
To use check_finite_iterable
, simply instantiate it with the first argument being the tested iterable and xs...
being the expected contents of the iterable.