Lines Matching +full:- +full:vv
6 TEST_CASE( "vector<int> -> toString", "[toString][vector]" )
8 std::vector<int> vv; variable
9 REQUIRE( ::Catch::Detail::stringify(vv) == "{ }" );
10 vv.push_back( 42 );
11 REQUIRE( ::Catch::Detail::stringify(vv) == "{ 42 }" );
12 vv.push_back( 250 );
13 REQUIRE( ::Catch::Detail::stringify(vv) == "{ 42, 250 }" );
16 TEST_CASE( "vector<string> -> toString", "[toString][vector]" )
18 std::vector<std::string> vv; variable
19 REQUIRE( ::Catch::Detail::stringify(vv) == "{ }" );
20 vv.emplace_back( "hello" );
21 REQUIRE( ::Catch::Detail::stringify(vv) == "{ \"hello\" }" );
22 vv.emplace_back( "world" );
23 REQUIRE( ::Catch::Detail::stringify(vv) == "{ \"hello\", \"world\" }" );
51 TEST_CASE( "vector<int,allocator> -> toString", "[toString][vector,allocator]" ) {
52 std::vector<int,minimal_allocator<int> > vv; variable
53 REQUIRE( ::Catch::Detail::stringify(vv) == "{ }" );
54 vv.push_back( 42 );
55 REQUIRE( ::Catch::Detail::stringify(vv) == "{ 42 }" );
56 vv.push_back( 250 );
57 REQUIRE( ::Catch::Detail::stringify(vv) == "{ 42, 250 }" );
60 TEST_CASE( "vec<vec<string,alloc>> -> toString", "[toString][vector,allocator]" ) {
70 // Based on PR by mat-so: https://github.com/catchorg/Catch2/pull/606/files#diff-43562f40f8c6dcfe2c…
71 TEST_CASE( "vector<bool> -> toString", "[toString][containers][vector]" ) {
79 TEST_CASE( "array<int, N> -> toString", "[toString][containers][array]" ) {