aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-08-30 22:22:56 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-08-30 22:22:56 +0800
commitee793eae326054a0ac75af97ab87ec54b8e8ef09 (patch)
tree38770e179a083803cfe5ce642928757862b47bd6
parentb73bac2077d42082002b3c48bac31f13269879d7 (diff)
downloadtangerine-mcl-ee793eae326054a0ac75af97ab87ec54b8e8ef09.tar.gz
tangerine-mcl-ee793eae326054a0ac75af97ab87ec54b8e8ef09.tar.zst
tangerine-mcl-ee793eae326054a0ac75af97ab87ec54b8e8ef09.zip
include lagrange.hpp in bench.hpp
-rw-r--r--test/bench.hpp2
-rw-r--r--test/bn384_test.cpp1
-rw-r--r--test/bn512_test.cpp1
-rw-r--r--test/bn_test.cpp1
4 files changed, 2 insertions, 3 deletions
diff --git a/test/bench.hpp b/test/bench.hpp
index 009bad1..494042b 100644
--- a/test/bench.hpp
+++ b/test/bench.hpp
@@ -1,3 +1,5 @@
+#include <mcl/lagrange.hpp>
+
void testBench(const G1& P, const G2& Q)
{
G1 Pa;
diff --git a/test/bn384_test.cpp b/test/bn384_test.cpp
index 8bb45b2..b5674a9 100644
--- a/test/bn384_test.cpp
+++ b/test/bn384_test.cpp
@@ -5,7 +5,6 @@
#include <cybozu/xorshift.hpp>
#include <mcl/bn384.hpp>
#include <mcl/bn.hpp>
-#include <mcl/lagrange.hpp>
using namespace mcl::bn384;
diff --git a/test/bn512_test.cpp b/test/bn512_test.cpp
index 8736377..905bfd3 100644
--- a/test/bn512_test.cpp
+++ b/test/bn512_test.cpp
@@ -5,7 +5,6 @@
#include <cybozu/xorshift.hpp>
#include <mcl/bn512.hpp>
#include <mcl/bn.hpp>
-#include <mcl/lagrange.hpp>
using namespace mcl::bn512;
diff --git a/test/bn_test.cpp b/test/bn_test.cpp
index 96ba6e1..929e235 100644
--- a/test/bn_test.cpp
+++ b/test/bn_test.cpp
@@ -6,7 +6,6 @@ cybozu::CpuClock clk;
#include <mcl/bn256.hpp>
#include <cybozu/option.hpp>
#include <cybozu/xorshift.hpp>
-#include <mcl/lagrange.hpp>
#if defined(__EMSCRIPTEN__) && !defined(MCL_AVOID_EXCEPTION_TEST)
#define MCL_AVOID_EXCEPTION_TEST