More fixes for Assert.
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd committed 2020-03-22 12:02:02 +01:00
1 parent 2d4cc2cd80
commit aa1b90554f
2 files changed
+13 -8

No files matched your search

+7
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)); }