More fixes for Assert.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-22 12:02:02 +01:00
parent 2d4cc2cd80
commit aa1b90554f
2 changed files with 13 additions and 8 deletions

View File

@@ -14,4 +14,11 @@ TEST_CASE("Assert throws if false with message", "[Utilities]") {
Catch::Matchers::Equals("ASSERTION FAILED: [AssertTests.cpp (3)] \"wrapperExpression\""));
}
TEST_CASE("Multiple asserts", "[Utilities]") {
Assert(true);
Assert(true);
Assert(true);
}
TEST_CASE("AssertNotNull throws if nullptr", "[Utilities]") { REQUIRE_THROWS(TestWrapperNotNull(nullptr)); }