aboutsummaryrefslogtreecommitdiffstats
path: root/test/bn512_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/bn512_test.cpp')
-rw-r--r--test/bn512_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/bn512_test.cpp b/test/bn512_test.cpp
index dde8950..8736377 100644
--- a/test/bn512_test.cpp
+++ b/test/bn512_test.cpp
@@ -5,6 +5,7 @@
#include <cybozu/xorshift.hpp>
#include <mcl/bn512.hpp>
#include <mcl/bn.hpp>
+#include <mcl/lagrange.hpp>
using namespace mcl::bn512;
@@ -34,6 +35,8 @@ void testCurve(const mcl::CurveParam& cp)
GT::pow(e1, e1, a * b);
CYBOZU_TEST_EQUAL(e1, e2);
testBench(P, Q);
+ testSquareRoot();
+ testLagrange();
}
CYBOZU_TEST_AUTO(pairing)