From 6770142d3191f6f14a74b9de355882b68f87b2ce Mon Sep 17 00:00:00 2001 From: Klemens David Morgenstern Date: Wed, 30 Jan 2019 16:31:22 +0800 Subject: [PATCH] Broken cxxtest --- test/cxxtest.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/cxxtest.cpp b/test/cxxtest.cpp index 2b572fc..2e7a7ce 100644 --- a/test/cxxtest.cpp +++ b/test/cxxtest.cpp @@ -6,17 +6,16 @@ class MyTestSuite1 : public CxxTest::TestSuite void testAddition(void) { TS_ASSERT(1 + 1 > 1); - TS_ASSERT_EQUALS(1 + 1, 2); + TS_ASSERT_EQUALS(2 + 1, 2); } void testXYZ() { - TS_ABORT(); - TS_ASSERT(true); + TS_ASSERT(false); } void testBar() { - // throw std::runtime_error("Some exception"); + throw std::runtime_error("Some exception"); } }; \ No newline at end of file