Givaro
tests
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,
b
)
Value:
if
(!((
a
) == (
b
))) { \
std::cout << #
a
<<
" == "
<< #
b
<<
" failed! "
<< std::endl; \
std::cout << (
a
) <<
" == "
<< (
b
) << std::endl; \
return -1; \
}
RecInt::a
MG & a
Definition:
rmadd.h:143
RecInt::b
MG const rmint< K, MG > & b
Definition:
rmadd.h:143
Function Documentation
◆
main()
int main
(
void
)
Generated on Wed Jun 29 2022 17:49:48 for Givaro by
1.9.1