#include <iostream>
#include "givaro/givzpz16std.h"
#include "givaro/givzpz16table1.h"
#include "givaro/givzpz32std.h"
#include "givaro/givzpz32uns.h"
#include <givaro/givzpzInt.h>
#include <givaro/givzpz64std.h>
#include <givaro/givzpz.h>
#include <givaro/givpoly1.h>
#include <givaro/givinteger.h>
Functions |
template<class Ring , class T1 , class T2 > |
int | TestOneRing (const Ring &F, const T1 FIRSTINT, const T2 FIRSTFLOAT) |
template<class Ring > |
int | TestRing (const Ring &F, const unsigned long seed) |
template<class Ring > |
int | TestPolRing (const Ring &F, const unsigned long seed) |
int | main (int argc, char **argv) |
Macro Definition Documentation
#define TESTE_EG |
( |
|
a, |
|
|
|
b |
|
) |
| |
Value:if (!F.areEqual((a),(b))) {\
F.write( F.write(std::cout,a) << "!=",b) << " failed (at line " << __LINE__ << ")" << std::endl; \
return(-1); \
}
Value:
std::cout << #a << " failed !" << std::endl;\
return -1 ; \
}
#define JEPOLTESTE |
( |
|
a, |
|
|
|
s |
|
) |
| |
Value:
std::cout << #a << " failed !" << std::endl;\
return -1 ; \
}
#define JEONETESTE |
( |
|
F, |
|
|
|
a, |
|
|
|
x |
|
) |
| |
Value:
std::cout << #a << " failed !" << std::endl;\
return -1 ; \
}
Function Documentation
int TestOneRing |
( |
const Ring & |
F, |
|
|
const T1 |
FIRSTINT, |
|
|
const T2 |
FIRSTFLOAT |
|
) |
| |
- Warning:
- F.init(c_,c); ne marche pas !
int TestRing |
( |
const Ring & |
F, |
|
|
const unsigned long |
seed |
|
) |
| |
int TestPolRing |
( |
const Ring & |
F, |
|
|
const unsigned long |
seed |
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |