Givaro
Macros | Functions
test-integer.C File Reference

tests integer.h fucntions not tested elsewhere. More...

#include <stdlib.h>
#include "gmp++/gmp++.h"
#include <typeinfo>
#include <iostream>
+ Include dependency graph for test-integer.C:

Macros

#define _GIV_REPET   10

Functions

int test_axpy_unit (const Integer &a, const Integer &b, const Integer &x)
int test_axpy ()
int test_mul_unit (const Integer &a, const Integer &b)
int test_mul ()
template<typename UnsignedBaseType >
int test_cast_unit (const UnsignedBaseType &t, const Integer &a, const Integer &b)
int test_cast_unit (const Integer &a, const Integer &b)
int test_cast ()
int main (int argc, char **argv)

Detailed Description

tests integer.h fucntions not tested elsewhere.

Test:
tests integer.h fucntions not tested elsewhere.

Macro Definition Documentation

#define _GIV_REPET   10

Function Documentation

int test_axpy_unit ( const Integer a,
const Integer b,
const Integer x 
)
int test_axpy ( )
int test_mul_unit ( const Integer a,
const Integer b 
)
int test_mul ( )
int test_cast_unit ( const UnsignedBaseType &  t,
const Integer a,
const Integer b 
)
int test_cast_unit ( const Integer a,
const Integer b 
)
int test_cast ( )
int main ( int  argc,
char **  argv 
)
Todo:
test gcd...