aboutsummaryrefslogtreecommitdiff
path: root/test/src/gen/test_field.c
diff options
context:
space:
mode:
authorJ08nY2017-10-17 00:16:37 +0200
committerJ08nY2017-10-17 00:16:37 +0200
commit5307f9318a01ed29a11202ad0915efae9dec44d0 (patch)
treef3a0aad1773e954ee15d3a6fef24a742d65d929e /test/src/gen/test_field.c
parent029ae4d5e19a69e22272755febb8825402594cc7 (diff)
downloadecgen-5307f9318a01ed29a11202ad0915efae9dec44d0.tar.gz
ecgen-5307f9318a01ed29a11202ad0915efae9dec44d0.tar.zst
ecgen-5307f9318a01ed29a11202ad0915efae9dec44d0.zip
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};