diff --git a/projects/SelfTest/ToStringContainers.cpp b/projects/SelfTest/ToStringContainers.cpp index c3a8d4ed..c0dbceaa 100644 --- a/projects/SelfTest/ToStringContainers.cpp +++ b/projects/SelfTest/ToStringContainers.cpp @@ -1,77 +1,61 @@ #include "catch.hpp" #include +#include +#include +/// \file Test Catch::to_string for standard containors. -// vedctor -TEST_CASE( "vector -> toString", "[toString][vector]" ) -{ - std::vector vv; - REQUIRE( Catch::toString(vv) == "{ }" ); - vv.push_back( 42 ); - REQUIRE( Catch::toString(vv) == "{ 42 }" ); - vv.push_back( 250 ); - REQUIRE( Catch::toString(vv) == "{ 42, 250 }" ); +/// \brief Test for sequence containors +/// \tparm Sequence The containor to test. +/// \tparm Allocator The containor element allocator to use. +template