We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c1e950 commit 74124ceCopy full SHA for 74124ce
tests/TestMatrix.cpp
@@ -14,6 +14,8 @@
14
#include <functional>
15
#include <helib/Matrix.h>
16
#include <helib/helib.h>
17
+#include <helib/debugging.h>
18
+#include <helib/fhe_stats.h>
19
20
#include "test_common.h"
21
#include "gtest/gtest.h"
@@ -196,6 +198,16 @@ class TestMatrixWithCtxt : public ::testing::TestWithParam<BGVParameters>
196
198
pk((sk.GenSecKey(), sk)),
197
199
ea(*context.ea)
200
{}
201
+
202
+ virtual void SetUp() override
203
+ {
204
+ helib::setupDebugGlobals(&sk, context.ea);
205
+ if (!helib_test::noPrint) {
206
+ helib::fhe_stats = true;
207
+ }
208
+ };
209
210
+ virtual void TearDown() override { helib::cleanupDebugGlobals(); }
211
};
212
213
namespace {
0 commit comments