FAILED:
REQUIRE( s == "world" )
with expansion:
"hello" == "world"
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 1 )
with expansion:
0 == 1
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 1 )
with expansion:
0 == 1
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 1 )
with expansion:
0 == 1
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture_2<TestType>::m_a.size() == 1 )
with expansion:
0 == 1
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture_2<TestType>{}.m_a.size() < 2 )
with expansion:
6 < 2
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture_2<TestType>{}.m_a.size() < 2 )
with expansion:
2 < 2
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture_2<TestType>{}.m_a.size() < 2 )
with expansion:
6 < 2
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture_2<TestType>{}.m_a.size() < 2 )
with expansion:
2 < 2
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture<TestType>::m_a == 2 )
with expansion:
1.0 == 2
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture<TestType>::m_a == 2 )
with expansion:
1.0f == 2
at Class.tests.cpp:
FAILED:
REQUIRE( Template_Fixture<TestType>::m_a == 2 )
with expansion:
1 == 2
at Class.tests.cpp:
FAILED:
REQUIRE( Nttp_Fixture<V>::value == 0 )
with expansion:
1 == 0
at Class.tests.cpp:
FAILED:
REQUIRE( Nttp_Fixture<V>::value == 0 )
with expansion:
3 == 0
at Class.tests.cpp:
FAILED:
REQUIRE( Nttp_Fixture<V>::value == 0 )
with expansion:
6 == 0
at Class.tests.cpp:
FAILED:
REQUIRE( m_a == 2 )
with expansion:
1 == 2
at Class.tests.cpp:
FAILED:
CHECK( false != false )
at Condition.tests.cpp:
FAILED:
CHECK( true != true )
at Condition.tests.cpp:
FAILED:
CHECK( !true )
with expansion:
false
at Condition.tests.cpp:
FAILED:
CHECK_FALSE( true )
with expansion:
!true
at Condition.tests.cpp:
FAILED:
CHECK( !trueValue )
with expansion:
false
at Condition.tests.cpp:
FAILED:
CHECK_FALSE( trueValue )
with expansion:
!true
at Condition.tests.cpp:
FAILED:
CHECK( !(1 == 1) )
with expansion:
false
at Condition.tests.cpp:
FAILED:
CHECK_FALSE( 1 == 1 )
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven == 6 )
with expansion:
7 == 6
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven == 8 )
with expansion:
7 == 8
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven == 0 )
with expansion:
7 == 0
at Condition.tests.cpp:
FAILED:
CHECK( data.float_nine_point_one == Approx( 9.11f ) )
with expansion:
9.1f == Approx( 9.1099996567 )
at Condition.tests.cpp:
FAILED:
CHECK( data.float_nine_point_one == Approx( 9.0f ) )
with expansion:
9.1f == Approx( 9.0 )
at Condition.tests.cpp:
FAILED:
CHECK( data.float_nine_point_one == Approx( 1 ) )
with expansion:
9.1f == Approx( 1.0 )
at Condition.tests.cpp:
FAILED:
CHECK( data.float_nine_point_one == Approx( 0 ) )
with expansion:
9.1f == Approx( 0.0 )
at Condition.tests.cpp:
FAILED:
CHECK( data.double_pi == Approx( 3.1415 ) )
with expansion:
3.1415926535 == Approx( 3.1415 )
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello == "goodbye" )
with expansion:
"hello" == "goodbye"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello == "hell" )
with expansion:
"hello" == "hell"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello == "hello1" )
with expansion:
"hello" == "hello1"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello.size() == 6 )
with expansion:
5 == 6
at Condition.tests.cpp:
FAILED:
CHECK( x == Approx( 1.301 ) )
with expansion:
1.3 == Approx( 1.301 )
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven != 7 )
with expansion:
7 != 7
at Condition.tests.cpp:
FAILED:
CHECK( data.float_nine_point_one != Approx( 9.1f ) )
with expansion:
9.1f != Approx( 9.1000003815 )
at Condition.tests.cpp:
FAILED:
CHECK( data.double_pi != Approx( 3.1415926535 ) )
with expansion:
3.1415926535 != Approx( 3.1415926535 )
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello != "hello" )
with expansion:
"hello" != "hello"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello.size() != 5 )
with expansion:
5 != 5
at Condition.tests.cpp:
FAILED:
at Condition.tests.cpp:
FAILED:
at Condition.tests.cpp:
FAILED:
at Condition.tests.cpp:
FAILED:
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven > 7 )
with expansion:
7 > 7
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven < 7 )
with expansion:
7 < 7
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven > 8 )
with expansion:
7 > 8
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven < 6 )
with expansion:
7 < 6
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven < 0 )
with expansion:
7 < 0
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven < -1 )
with expansion:
7 < -1
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven >= 8 )
with expansion:
7 >= 8
at Condition.tests.cpp:
FAILED:
CHECK( data.int_seven <= 6 )
with expansion:
7 <= 6
at Condition.tests.cpp:
FAILED:
CHECK( data.float_nine_point_one < 9 )
with expansion:
9.1f < 9
at Condition.tests.cpp:
FAILED:
CHECK( data.float_nine_point_one > 10 )
with expansion:
9.1f > 10
at Condition.tests.cpp:
FAILED:
CHECK( data.float_nine_point_one > 9.2 )
with expansion:
9.1f > 9.2
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello > "hello" )
with expansion:
"hello" > "hello"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello < "hello" )
with expansion:
"hello" < "hello"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello > "hellp" )
with expansion:
"hello" > "hellp"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello > "z" )
with expansion:
"hello" > "z"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello < "hellm" )
with expansion:
"hello" < "hellm"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello < "a" )
with expansion:
"hello" < "a"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello >= "z" )
with expansion:
"hello" >= "z"
at Condition.tests.cpp:
FAILED:
CHECK( data.str_hello <= "a" )
with expansion:
"hello" <= "a"
at Condition.tests.cpp:
FAILED:
CHECK( truthy(false) )
with expansion:
Hey, its truthy!
at Decomposition.tests.cpp:
FAILED:
expected exception
answer := 42
at Exception.tests.cpp:
FAILED:
REQUIRE_NOTHROW( thisThrows() )
expected exception
answer := 42
at Exception.tests.cpp:
FAILED:
{Unknown expression after the reported line}
unexpected exception
at Exception.tests.cpp:
FAILED:
REQUIRE_NOTHROW( throwCustom() )
custom exception - not std
at Exception.tests.cpp:
FAILED:
REQUIRE_THROWS_AS( throwCustom(), std::exception )
custom exception - not std
at Exception.tests.cpp:
FAILED:
custom std exception
at Exception.tests.cpp:
FAILED:
CHECK_THROWS_AS( thisThrows(), std::string )
expected exception
at Exception.tests.cpp:
FAILED:
CHECK_THROWS_AS( thisDoesntThrow(), std::domain_error )
at Exception.tests.cpp:
FAILED:
CHECK_NOTHROW( thisThrows() )
expected exception
at Exception.tests.cpp:
FAILED:
REQUIRE_THROWS_WITH( thisThrows(), "should fail" )
with expansion:
"expected exception" equals: "should fail"
at Exception.tests.cpp:
FAILED:
custom exception
at Exception.tests.cpp:
FAILED:
For some reason someone is throwing a string literal!
at Exception.tests.cpp:
FAILED:
3.14
at Exception.tests.cpp:
FAILED:
unexpected exception
at Exception.tests.cpp:
FAILED:
CHECK( thisThrows() == 0 )
expected exception
at Exception.tests.cpp:
FAILED:
REQUIRE( thisThrows() == 0 )
expected exception
at Exception.tests.cpp:
FAILED:
CHECK( thisThrows() == 0 )
expected exception
at Exception.tests.cpp:
FAILED:
unexpected exception
at Exception.tests.cpp:
FAILED:
Why would you throw a std::string?
at Exception.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), ContainsSubstring( "not there", Catch::CaseSensitive::No ) )
with expansion:
"this string contains 'abc' as a substring" contains: "not there" (case insensitive)
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), ContainsSubstring( "STRING" ) )
with expansion:
"this string contains 'abc' as a substring" contains: "STRING"
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), EndsWith( "Substring" ) )
with expansion:
"this string contains 'abc' as a substring" ends with: "Substring"
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), EndsWith( "this", Catch::CaseSensitive::No ) )
with expansion:
"this string contains 'abc' as a substring" ends with: "this" (case insensitive)
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), Equals( "this string contains 'ABC' as a substring" ) )
with expansion:
"this string contains 'abc' as a substring" equals: "this string contains 'ABC' as a substring"
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), Equals( "something else", Catch::CaseSensitive::No ) )
with expansion:
"this string contains 'abc' as a substring" equals: "something else" (case insensitive)
at Matchers.tests.cpp:
FAILED:
CHECK_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } )
at Matchers.tests.cpp:
FAILED:
REQUIRE_THROWS_MATCHES( doesNotThrow(), SpecialException, ExceptionMatcher{ 1 } )
at Matchers.tests.cpp:
FAILED:
CHECK_THROWS_MATCHES( throwsAsInt( 1 ), SpecialException, ExceptionMatcher{ 1 } )
Unknown exception
at Matchers.tests.cpp:
FAILED:
REQUIRE_THROWS_MATCHES( throwsAsInt( 1 ), SpecialException, ExceptionMatcher{ 1 } )
Unknown exception
at Matchers.tests.cpp:
FAILED:
CHECK_THROWS_MATCHES( throwsSpecialException( 3 ), SpecialException, ExceptionMatcher{ 1 } )
with expansion:
SpecialException::what special exception has value of 1
at Matchers.tests.cpp:
FAILED:
REQUIRE_THROWS_MATCHES( throwsSpecialException( 4 ), SpecialException, ExceptionMatcher{ 1 } )
with expansion:
SpecialException::what special exception has value of 1
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), ( ContainsSubstring( "string" ) || ContainsSubstring( "different" ) ) && ContainsSubstring( "random" ) )
with expansion:
"this string contains 'abc' as a substring" ( ( contains: "string" or contains: "different" ) and contains: "random" )
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), !ContainsSubstring( "substring" ) )
with expansion:
"this string contains 'abc' as a substring" not contains: "substring"
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), Matches( "this STRING contains 'abc' as a substring" ) )
with expansion:
"this string contains 'abc' as a substring" matches "this STRING contains 'abc' as a substring" case sensitively
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), Matches( "contains 'abc' as a substring" ) )
with expansion:
"this string contains 'abc' as a substring" matches "contains 'abc' as a substring" case sensitively
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), Matches( "this string contains 'abc' as a" ) )
with expansion:
"this string contains 'abc' as a substring" matches "this string contains 'abc' as a" case sensitively
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), StartsWith( "This String" ) )
with expansion:
"this string contains 'abc' as a substring" starts with: "This String"
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( testStringForMatching(), StartsWith( "string", Catch::CaseSensitive::No ) )
with expansion:
"this string contains 'abc' as a substring" starts with: "string" (case insensitive)
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( empty, Approx( t1 ) )
with expansion:
{ } is approx: { 1.0, 2.0 }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( v1, Approx( v2 ) )
with expansion:
{ 2.0, 4.0, 6.0 } is approx: { 1.0, 3.0, 5.0 }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( v, VectorContains( -1 ) )
with expansion:
{ 1, 2, 3 } Contains: -1
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( empty, VectorContains( 1 ) )
with expansion:
{ } Contains: 1
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( empty, Contains( v ) )
with expansion:
{ } Contains: { 1, 2, 3 }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( v, Contains( v2 ) )
with expansion:
{ 1, 2, 3 } Contains: { 1, 2, 4 }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( v, Equals( v2 ) )
with expansion:
{ 1, 2, 3 } Equals: { 1, 2 }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( v2, Equals( v ) )
with expansion:
{ 1, 2 } Equals: { 1, 2, 3 }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( empty, Equals( v ) )
with expansion:
{ } Equals: { 1, 2, 3 }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( v, Equals( empty ) )
with expansion:
{ 1, 2, 3 } Equals: { }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( v, UnorderedEquals( empty ) )
with expansion:
{ 1, 2, 3 } UnorderedEquals: { }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( empty, UnorderedEquals( v ) )
with expansion:
{ } UnorderedEquals: { 1, 2, 3 }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( permuted, UnorderedEquals( v ) )
with expansion:
{ 1, 3 } UnorderedEquals: { 1, 2, 3 }
at Matchers.tests.cpp:
FAILED:
CHECK_THAT( permuted, UnorderedEquals( v ) )
with expansion:
{ 3, 1 } UnorderedEquals: { 1, 2, 3 }
at Matchers.tests.cpp:
FAILED:
This is a failure
at Message.tests.cpp:
FAILED:
at Message.tests.cpp:
FAILED:
This is a failure
at Message.tests.cpp:
FAILED:
REQUIRE( a == 1 )
with expansion:
2 == 1
this message should be logged
so should this
at Message.tests.cpp:
FAILED:
CHECK( a == 1 )
with expansion:
2 == 1
this message may be logged later
this message should be logged
at Message.tests.cpp:
FAILED:
CHECK( a == 0 )
with expansion:
2 == 0
this message may be logged later
this message should be logged
and this, but later
at Message.tests.cpp:
FAILED:
REQUIRE( i < 10 )
with expansion:
10 < 10
current counter 10
i := 10
at Message.tests.cpp:
FAILED:
Message from section one
at Message.tests.cpp:
FAILED:
Message from section two
at Message.tests.cpp:
FAILED:
Previous info should not be seen
at Message.tests.cpp:
FAILED:
previous unscoped info SHOULD not be seen
at Message.tests.cpp:
FAILED:
REQUIRE( false )
this SHOULD be seen
at Message.tests.cpp:
FAILED:
REQUIRE( false )
this SHOULD be seen
this SHOULD also be seen
at Message.tests.cpp:
FAILED:
CHECK( false )
this SHOULD be seen only ONCE
at Message.tests.cpp:
FAILED:
REQUIRE( false )
hi
i := 7
at Message.tests.cpp:
FAILED:
CHECK( false )
Count 1 to 3...
1
2
3
at Message.tests.cpp:
FAILED:
CHECK( false )
Count 4 to 6...
4
5
6
at Message.tests.cpp:
FAILED:
CHECK( f() == 0 )
with expansion:
1 == 0
at Misc.tests.cpp:
FAILED:
to infinity and beyond
at Misc.tests.cpp:
FAILED:
CHECK( s1 == s2 )
with expansion:
"if ($b == 10) {
$a = 20;
}"
==
"if ($b == 10) {
$a = 20;
}
"
at Misc.tests.cpp:
FAILED:
at Misc.tests.cpp:
FAILED:
at Misc.tests.cpp:
FAILED:
REQUIRE( testCheckedElse( false ) )
with expansion:
false
at Misc.tests.cpp:
FAILED:
REQUIRE( testCheckedIf( false ) )
with expansion:
false
at Misc.tests.cpp:
FAILED:
CHECK( b > a )
with expansion:
0 > 1
at Misc.tests.cpp:
FAILED:
CHECK( b > a )
with expansion:
1 > 1
at Misc.tests.cpp:
FAILED:
CHECK( ( fib[i] % 2 ) == 0 )
with expansion:
1 == 0
Testing if fib[0] (1) is even
at Misc.tests.cpp:
FAILED:
CHECK( ( fib[i] % 2 ) == 0 )
with expansion:
1 == 0
Testing if fib[1] (1) is even
at Misc.tests.cpp:
FAILED:
CHECK( ( fib[i] % 2 ) == 0 )
with expansion:
1 == 0
Testing if fib[3] (3) is even
at Misc.tests.cpp:
FAILED:
CHECK( ( fib[i] % 2 ) == 0 )
with expansion:
1 == 0
Testing if fib[4] (5) is even
at Misc.tests.cpp:
FAILED:
CHECK( ( fib[i] % 2 ) == 0 )
with expansion:
1 == 0
Testing if fib[6] (13) is even
at Misc.tests.cpp:
FAILED:
CHECK( ( fib[i] % 2 ) == 0 )
with expansion:
1 == 0
Testing if fib[7] (21) is even
at Misc.tests.cpp:
FAILED:
REQUIRE( a == b )
with expansion:
1 == 2
at Misc.tests.cpp:
FAILED:
REQUIRE( false )
3
at Misc.tests.cpp:
FAILED:
1514
at Tricky.tests.cpp:
FAILED:
CHECK( &o1 == &o2 )
with expansion:
0x == 0x
at Tricky.tests.cpp:
FAILED:
CHECK( o1 == o2 )
with expansion:
{?} == {?}
at Tricky.tests.cpp: