Givaro 4.2.1
test-rational-class.C File Reference

Macros

#define TEST_ASSERT(cond)
 
#define TEST_EQUAL(a, b)
 

Functions

int main (void)
 

Macro Definition Documentation

◆ TEST_ASSERT

#define TEST_ASSERT ( cond)
Value:
if(!(cond)) { \
std::cout << #cond << " failed!" << std::endl; \
return -1; \
}

◆ TEST_EQUAL

#define TEST_EQUAL ( a,
b )
Value:
if(!((a) == (b))) { \
std::cout << #a << " == " << #b << " failed! " << std::endl; \
std::cout << (a) << " == " << (b) << std::endl; \
return -1; \
}

Function Documentation

◆ main()

int main ( void )