mirror of
https://github.com/dyne/FreeJ.git
synced 2026-02-09 14:29:43 +01:00
18 lines
280 B
C++
18 lines
280 B
C++
#include <cxxtest/TestSuite.h>
|
|
|
|
class TestClosure : public CxxTest::TestSuite
|
|
{
|
|
public:
|
|
void testAddition( void )
|
|
{
|
|
TS_ASSERT( 1 + 1 > 1 );
|
|
TS_ASSERT_EQUALS( 1 + 1, 2 );
|
|
}
|
|
|
|
void testMultiplication( void )
|
|
{
|
|
TS_ASSERT_DIFFERS( 2 * 2, 5 );
|
|
}
|
|
};
|
|
|