1 #include <tests/Assert.hxx>
2 #include <libfsafe/assert.hxx>
4 void tests::Assert::passIfTrue()
9 void tests::Assert::failIfFalse()
14 void tests::Assert::testMessage()
18 CPPUNIT_FAIL("false positive");
19 } catch (libfsafe::AssertionFailure
& e
) {
22 "Condition 'false' violated.";
23 std::string act
= e
.what();
24 CPPUNIT_ASSERT_EQUAL(exp
, act
);