aboutsummaryrefslogtreecommitdiff
path: root/test/src/gen/test_field.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/gen/test_field.c')
-rw-r--r--test/src/gen/test_field.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/test/src/gen/test_field.c b/test/src/gen/test_field.c
index fb1f1e3..81bd1ca 100644
--- a/test/src/gen/test_field.c
+++ b/test/src/gen/test_field.c
@@ -6,23 +6,9 @@
#include "gen/field.h"
#include "math/poly.h"
#include "misc/types.h"
-#include "test/default.h"
-#include "test/input.h"
-#include "test/output.h"
+#include "test/io.h"
-void field_setup() {
- default_setup();
- input_setup();
- output_setup();
-}
-
-void field_teardown() {
- default_teardown();
- input_teardown();
- output_teardown();
-}
-
-TestSuite(field, .init = field_setup, .fini = field_teardown);
+TestSuite(field, .init = io_setup, .fini = io_teardown);
Test(field, test_field_gen_random_fp) {
curve_t curve = {0};