Files
FreeJ/tests/testClosure.h
2009-10-17 21:24:59 +01:00

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 );
}
};