aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJ08nY2018-03-03 01:35:04 +0100
committerJ08nY2018-03-28 17:25:02 +0200
commit97149b9104569f70dc0eec47e2e0df4d8d05022d (patch)
treeac144c92971491bec46c471fa8f68f09ad5bb64e /test
parent72f2a5d4fb0aaa054fb73e30944c10a41c830727 (diff)
downloadecgen-97149b9104569f70dc0eec47e2e0df4d8d05022d.tar.gz
ecgen-97149b9104569f70dc0eec47e2e0df4d8d05022d.tar.zst
ecgen-97149b9104569f70dc0eec47e2e0df4d8d05022d.zip
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt2
-rw-r--r--test/src/gen/test_point.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index fabbcc9..ff528cd 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -11,7 +11,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/lib/criterion/include)
find_library(criterion NAMES criterion PATHS ${CMAKE_CURRENT_SOURCE_DIR}/lib/criterion/build)
-file(GLOB TEST_SRC "src/math/*.c" "src/gen/*.c" "src/cm/*.c" "src/invalid/*.c" "src/io/*.c" "src/exhaustive/*.c" "src/util/*.c")
+file(GLOB TEST_SRC "src/math/*.c" "src/obj/*.c" "src/gen/*.c" "src/cm/*.c" "src/invalid/*.c" "src/io/*.c" "src/exhaustive/*.c" "src/util/*.c")
file(GLOB TESTING_SRC "src/test/*.c")
add_executable(test_ecgen ${TEST_SRC} ${TESTING_SRC} ${SRC})
diff --git a/test/src/gen/test_point.c b/test/src/gen/test_point.c
index 736492b..4bb3cd7 100644
--- a/test/src/gen/test_point.c
+++ b/test/src/gen/test_point.c
@@ -7,6 +7,7 @@
#include "gen/curve.h"
#include "gen/point.h"
#include "math/subgroup.h"
+#include "obj/point.h"
#include "test/io.h"
TestSuite(point, .init = io_setup, .fini = io_teardown);