mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
17 lines
291 B
C++
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()
|
|
{
|
|
}
|
|
};
|