aboutsummaryrefslogtreecommitdiff
path: root/src/test/pow_tests.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-03-12 10:54:13 +0100
committerWladimir J. van der Laan <[email protected]>2015-03-12 11:00:16 +0100
commit164d7b674b49b3c062d0331f28d21ad4f6bf5207 (patch)
tree3768ed6d0cba9128dd6fc5b8caa65c2dafac7bf1 /src/test/pow_tests.cpp
parentMerge pull request #5871 (diff)
parenttests: add a BasicTestingSetup and apply to all tests (diff)
downloaddiscoin-164d7b674b49b3c062d0331f28d21ad4f6bf5207.tar.xz
discoin-164d7b674b49b3c062d0331f28d21ad4f6bf5207.zip
Merge pull request #5883
92fd887 tests: add a BasicTestingSetup and apply to all tests (Wladimir J. van der Laan)
Diffstat (limited to 'src/test/pow_tests.cpp')
-rw-r--r--src/test/pow_tests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/pow_tests.cpp b/src/test/pow_tests.cpp
index e42c1b0a8..7b197c527 100644
--- a/src/test/pow_tests.cpp
+++ b/src/test/pow_tests.cpp
@@ -5,12 +5,13 @@
#include "main.h"
#include "pow.h"
#include "util.h"
+#include "test/test_bitcoin.h"
#include <boost/test/unit_test.hpp>
using namespace std;
-BOOST_AUTO_TEST_SUITE(pow_tests)
+BOOST_FIXTURE_TEST_SUITE(pow_tests, BasicTestingSetup)
/* Test calculation of next difficulty target with no constraints applying */
BOOST_AUTO_TEST_CASE(get_next_work)