diff options
| author | Phil Nash | 2015-05-20 18:28:22 +0100 |
|---|---|---|
| committer | Phil Nash | 2015-05-20 18:28:22 +0100 |
| commit | 6ed74b5cab3d8cfb2e474b2da1cad70e52cbb3b8 (patch) | |
| tree | 0186cb15e05fdcfe293f07f44bb668175a3b39bf /projects/SelfTest/ToStringVector.cpp | |
| parent | bdbfe69e3c1b85230f32613770b58abcdaf0265b (diff) | |
| download | catch3-6ed74b5cab3d8cfb2e474b2da1cad70e52cbb3b8.tar.gz | |
changed hex threshold on ints to 255
- and print it in *addition* to the decimal form
Diffstat (limited to 'projects/SelfTest/ToStringVector.cpp')
| -rw-r--r-- | projects/SelfTest/ToStringVector.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/projects/SelfTest/ToStringVector.cpp b/projects/SelfTest/ToStringVector.cpp index 44790605..c3a8d4ed 100644 --- a/projects/SelfTest/ToStringVector.cpp +++ b/projects/SelfTest/ToStringVector.cpp @@ -9,8 +9,8 @@ TEST_CASE( "vector<int> -> toString", "[toString][vector]" ) REQUIRE( Catch::toString(vv) == "{ }" ); vv.push_back( 42 ); REQUIRE( Catch::toString(vv) == "{ 42 }" ); - vv.push_back( 512 ); - REQUIRE( Catch::toString(vv) == "{ 42, 512 }" ); + vv.push_back( 250 ); + REQUIRE( Catch::toString(vv) == "{ 42, 250 }" ); } TEST_CASE( "vector<string> -> toString", "[toString][vector]" ) @@ -57,8 +57,8 @@ TEST_CASE( "vector<int,allocator> -> toString", "[toString][vector,allocator]" ) REQUIRE( Catch::toString(vv) == "{ }" ); vv.push_back( 42 ); REQUIRE( Catch::toString(vv) == "{ 42 }" ); - vv.push_back( 512 ); - REQUIRE( Catch::toString(vv) == "{ 42, 512 }" ); + vv.push_back( 250 ); + REQUIRE( Catch::toString(vv) == "{ 42, 250 }" ); } TEST_CASE( "vec<vec<string,alloc>> -> toString", "[toString][vector,allocator]" ) { |