mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
30 lines
483 B
Smarty
30 lines
483 B
Smarty
|
// -*- C++ -*-
|
||
|
|
||
|
#define CXXTEST_ABORT_TEST_ON_FAIL
|
||
|
|
||
|
// CxxTest definitions and headers
|
||
|
<CxxTest preamble>
|
||
|
|
||
|
// Make sure this worked
|
||
|
#ifndef TS_ASSERT
|
||
|
# error The preamble does not work!
|
||
|
#endif
|
||
|
|
||
|
#include <cxxtest/StdioPrinter.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
CxxTest::StdioPrinter runner;
|
||
|
|
||
|
TS_FAIL( "This will not be displayed" );
|
||
|
int result = runner.run() + runner.run();
|
||
|
TS_FAIL( "This will not be displayed" );
|
||
|
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
|
||
|
// The CxxTest "world"
|
||
|
<CxxTest world>
|
||
|
|