Files
cpp-thirdparty/noarch/lib/py/cxxtest/test/ForceNoEh.h
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

17 lines
291 B
C++

#include <cxxtest/TestSuite.h>
class ForceNoEh : public CxxTest::TestSuite
{
public:
void testCxxTestCanCompileWithoutExceptionHandling()
{
TS_ASSERT_EQUALS(1, 2);
TS_ASSERT_EQUALS(2, 3);
TS_ASSERT_THROWS_NOTHING(foo());
}
void foo()
{
}
};