libcruft-util/test/concepts.cpp

12 lines
302 B
C++

#include <cruft/util/tap.hpp>
#include <cruft/util/concepts.hpp>
int main ()
{
cruft::TAP::logger tap;
tap.expect (cruft::concepts::container<std::vector<int>>, "vector is a container");
tap.expect (!cruft::concepts::container<int>, "int is not a container");
return tap.status ();
}