diff options
author | 2017-02-05 15:45:26 +0100 | |
---|---|---|
committer | 2017-02-05 15:46:07 +0100 | |
commit | 02c97cd0f7c4d630f1a90f9f2626746e47a28c09 (patch) | |
tree | 2b48d051a55f2b65525824546cd9fcf9e05907cf /3rdparty/catch/projects/SelfTest/ToStringTuple.cpp | |
parent | d20b4ba6864b45d0c068d98d43e63c8bc5014a3b (diff) |
Updated Catch to latest (nw)
Diffstat (limited to '3rdparty/catch/projects/SelfTest/ToStringTuple.cpp')
-rw-r--r-- | 3rdparty/catch/projects/SelfTest/ToStringTuple.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/3rdparty/catch/projects/SelfTest/ToStringTuple.cpp b/3rdparty/catch/projects/SelfTest/ToStringTuple.cpp index 80e5453097a..fa61f631440 100644 --- a/3rdparty/catch/projects/SelfTest/ToStringTuple.cpp +++ b/3rdparty/catch/projects/SelfTest/ToStringTuple.cpp @@ -7,7 +7,7 @@ #pragma clang diagnostic ignored "-Wc++98-compat" #endif -TEST_CASE( "tuple<>", "[toString][tuple]" ) +TEST_CASE( "tuple<>", "[toString][tuple][c++11][.]" ) { typedef std::tuple<> type; CHECK( "{ }" == Catch::toString(type{}) ); @@ -15,27 +15,27 @@ TEST_CASE( "tuple<>", "[toString][tuple]" ) CHECK( "{ }" == Catch::toString(value) ); } -TEST_CASE( "tuple<int>", "[toString][tuple]" ) +TEST_CASE( "tuple<int>", "[toString][tuple][c++11][.]" ) { typedef std::tuple<int> type; CHECK( "{ 0 }" == Catch::toString(type{0}) ); } -TEST_CASE( "tuple<float,int>", "[toString][tuple]" ) +TEST_CASE( "tuple<float,int>", "[toString][tuple][c++11][.]" ) { typedef std::tuple<float,int> type; CHECK( "1.2f" == Catch::toString(float(1.2)) ); CHECK( "{ 1.2f, 0 }" == Catch::toString(type{1.2,0}) ); } -TEST_CASE( "tuple<string,string>", "[toString][tuple]" ) +TEST_CASE( "tuple<string,string>", "[toString][tuple][c++11][.]" ) { typedef std::tuple<std::string,std::string> type; CHECK( "{ \"hello\", \"world\" }" == Catch::toString(type{"hello","world"}) ); } -TEST_CASE( "tuple<tuple<int>,tuple<>,float>", "[toString][tuple]" ) +TEST_CASE( "tuple<tuple<int>,tuple<>,float>", "[toString][tuple][c++11][.]" ) { typedef std::tuple<std::tuple<int>,std::tuple<>,float> type; type value { std::tuple<int>{42}, {}, 1.2f }; @@ -43,7 +43,7 @@ TEST_CASE( "tuple<tuple<int>,tuple<>,float>", "[toString][tuple]" ) } #ifdef CATCH_CONFIG_CPP11_NULLPTR -TEST_CASE( "tuple<nullptr,int,const char *>", "[toString][tuple]" ) +TEST_CASE( "tuple<nullptr,int,const char *>", "[toString][tuple][c++11][.]" ) { typedef std::tuple<std::nullptr_t,int,const char *> type; type value { nullptr, 42, "Catch me" }; |