Givaro
Macros | Functions
test-rational-class.C File Reference
#include "./rational/givrational.h"
+ Include dependency graph for test-rational-class.C:

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,
 
)
Value:
if(!((a) == (b))) { \
std::cout << #a << " == " << #b << " failed! " << std::endl; \
std::cout << (a) << " == " << (b) << std::endl; \
return -1; \
}
MG & a
Definition: rmadd.h:143
MG const rmint< K, MG > & b
Definition: rmadd.h:143

Function Documentation

◆ main()

int main ( void  )