#include <iostream>
#include <givaro/givzpz64std.h>
#include <givaro/givzpz.h>
#include <givaro/givgfq.h>
#include <givaro/givmontg32.h>
#include <givaro/givgfqext.h>
#include <givaro/givextension.h>
Define Documentation
#define TESTE_EG |
( |
|
a, |
|
|
|
b |
|
) |
| |
Value:if (!F.areEqual((a),(b))) {\
std::cout << F.write(std::cout,a) << "!=" << F.write(std::cout,b) << " failed (at line " << __LINE__ << ")" << std::endl; \
return(-1); \
}
Value:if (TestField( (a), int(s)) ) {\
std::cout << #a << " failed !" << std::endl;\
return -1 ; \
}
#define JEONETESTE |
( |
|
F, |
|
|
|
a, |
|
|
|
x |
|
) |
| |
Value:if (TestOneField(F,(int)a,(float)x)) {\
std::cout << #a << " failed !" << std::endl;\
return -1 ; \
}
Function Documentation
int TestOneField |
( |
const Field & |
F, |
|
|
const int |
FIRSTINT, |
|
|
const float |
FIRSTFLOAT |
|
) |
| |
- Warning:
- F.init(c_,c); ne marche pas !
int TestField |
( |
const Field & |
F, |
|
|
const int |
seed |
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |