Added a handful of "built-in" matchers

This commit is contained in:
Phil Nash 2012-03-04 20:10:36 +00:00
parent eca5637c58
commit a6a40b3ba9
4 changed files with 117 additions and 30 deletions

View file

@ -43,7 +43,7 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
"Number of 'succeeding' tests is fixed" )
{
runner.runMatching( "./succeeding/*" );
CHECK( runner.getTotals().assertions.passed == 268 );
CHECK( runner.getTotals().assertions.passed == 272 );
CHECK( runner.getTotals().assertions.failed == 0 );
}
@ -52,7 +52,7 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
{
runner.runMatching( "./failing/*" );
CHECK( runner.getTotals().assertions.passed == 0 );
CHECK( runner.getTotals().assertions.failed == 68 );
CHECK( runner.getTotals().assertions.failed == 71 );
}
}
}