diff options
| author | J08nY | 2017-08-29 16:57:31 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-29 16:57:31 +0200 |
| commit | 4b5d03eda289aa477e693cad8b598a398bb7e04c (patch) | |
| tree | 93977fbc769daaf1b89620753070e4f408b7bf41 /test/src/math/test_subgroups.c | |
| parent | a826785b6d421057c11fc36cc52ce85a20af32f4 (diff) | |
| download | ecgen-4b5d03eda289aa477e693cad8b598a398bb7e04c.tar.gz ecgen-4b5d03eda289aa477e693cad8b598a398bb7e04c.tar.zst ecgen-4b5d03eda289aa477e693cad8b598a398bb7e04c.zip | |
Diffstat (limited to 'test/src/math/test_subgroups.c')
| -rw-r--r-- | test/src/math/test_subgroups.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/src/math/test_subgroups.c b/test/src/math/test_subgroups.c index fa81788..ad42282 100644 --- a/test/src/math/test_subgroups.c +++ b/test/src/math/test_subgroups.c @@ -5,12 +5,9 @@ #include "gen/types.h" #include "math/subgroups.h" #include <criterion/criterion.h> +#include "test/utils.h" -void setup(void) { - pari_init(1000000000, 1000000); -} - -TestSuite(subgroups, .init=setup); +TestSuite(subgroups, .init=default_setup, .fini=default_teardown); Test(subgroups, test_prime_factors) { curve_t curve = {.order = stoi(12)}; |
