aboutsummaryrefslogtreecommitdiff
path: root/test/src/math/test_koblitz.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/math/test_koblitz.c')
-rw-r--r--test/src/math/test_koblitz.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/src/math/test_koblitz.c b/test/src/math/test_koblitz.c
index 03e411c..811edc3 100644
--- a/test/src/math/test_koblitz.c
+++ b/test/src/math/test_koblitz.c
@@ -11,15 +11,12 @@ TestSuite(koblitz, .init = default_setup, .fini = default_teardown);
Test(koblitz, test_koblitz_is_curve) {
curve_t curve = {
- .field = stoi(23),
- .a = mkintmodu(3, 23),
- .b = mkintmodu(2, 23)
- };
+ .field = stoi(23), .a = mkintmodu(3, 23), .b = mkintmodu(2, 23)};
- cr_assert_not(koblitz_is_curve(&curve),);
+ cr_assert_not(koblitz_is_curve(&curve), );
curve.a = mkintmodu(1, 23);
curve.b = mkintmodu(1, 23);
- cr_assert(koblitz_is_curve(&curve),);
+ cr_assert(koblitz_is_curve(&curve), );
}
Test(koblitz, test_koblitz_find) {