diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-02-15 14:04:11 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-02-15 14:04:11 +0000 |
commit | 042f19d1e798c879a5719ed2991cb84368f74dca (patch) | |
tree | 972d2c55cc61096532ede8679cfdee2193917f67 /tests/tfrac.c | |
parent | c9c32ca06a6d692dcd1b15f3dd1e58256d5695e8 (diff) | |
download | mpfr-042f19d1e798c879a5719ed2991cb84368f74dca.tar.gz |
add generic tests
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5287 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tfrac.c')
-rw-r--r-- | tests/tfrac.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tfrac.c b/tests/tfrac.c index 2f69f2648..dab896542 100644 --- a/tests/tfrac.c +++ b/tests/tfrac.c @@ -172,6 +172,9 @@ special (void) mpfr_clear (t); } +#define TEST_FUNCTION mpfr_frac +#include "tgeneric.c" + int main (void) { @@ -223,6 +226,9 @@ main (void) mpfr_clear (ip); mpfr_clear (fp); + + test_generic (2, 1000, 10); + tests_end_mpfr (); return 0; } |