Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/ToStringVector.cpp
diff options
context:
space:
mode:
authorPhil Nash2015-05-20 18:28:22 +0100
committerPhil Nash2015-05-20 18:28:22 +0100
commit6ed74b5cab3d8cfb2e474b2da1cad70e52cbb3b8 (patch)
tree0186cb15e05fdcfe293f07f44bb668175a3b39bf /projects/SelfTest/ToStringVector.cpp
parentbdbfe69e3c1b85230f32613770b58abcdaf0265b (diff)
downloadcatch3-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.cpp8
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]" ) {