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