Remove obsolete test

`REQUIRE`, `CHECK` and many other macros already support expressions
with multiple template parameters without parenthesizing.
This commit is contained in:
Martin Hořeňovský 2018-07-02 10:57:19 +02:00
parent ff2b3c85a7
commit 4846ad59e1
6 changed files with 8 additions and 53 deletions

View file

@ -20,26 +20,6 @@
#include <stdio.h>
#include <sstream>
namespace Catch {
std::string toString( const std::pair<int, int>& value ) {
std::ostringstream oss;
oss << "std::pair( " << value.first << ", " << value.second << " )";
return oss.str();
}
}
///////////////////////////////////////////////////////////////////////////////
TEST_CASE
(
"Parsing a std::pair",
"[Tricky][std::pair]"
)
{
std::pair<int, int> aNicePair( 1, 2 );
REQUIRE( (std::pair<int, int>( 1, 2 )) == aNicePair );
}
///////////////////////////////////////////////////////////////////////////////
TEST_CASE
(
@ -175,7 +155,7 @@ namespace ObjectWithConversions
///////////////////////////////////////////////////////////////////////////////
TEST_CASE
(
"Operators at different namespace levels not hijacked by Koenig lookup",
"Implicit conversions are supported inside assertion macros",
"[Tricky][approvals]"
)
{