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

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>