diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-03-12 10:54:13 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-03-12 11:00:16 +0100 |
| commit | 164d7b674b49b3c062d0331f28d21ad4f6bf5207 (patch) | |
| tree | 3768ed6d0cba9128dd6fc5b8caa65c2dafac7bf1 /src/test/scriptnum_tests.cpp | |
| parent | Merge pull request #5871 (diff) | |
| parent | tests: add a BasicTestingSetup and apply to all tests (diff) | |
| download | discoin-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/scriptnum_tests.cpp')
| -rw-r--r-- | src/test/scriptnum_tests.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/scriptnum_tests.cpp b/src/test/scriptnum_tests.cpp index cfbaf26e7..24c7dd3d5 100644 --- a/src/test/scriptnum_tests.cpp +++ b/src/test/scriptnum_tests.cpp @@ -4,10 +4,13 @@ #include "bignum.h" #include "script/script.h" +#include "test/test_bitcoin.h" + #include <boost/test/unit_test.hpp> #include <limits.h> #include <stdint.h> -BOOST_AUTO_TEST_SUITE(scriptnum_tests) + +BOOST_FIXTURE_TEST_SUITE(scriptnum_tests, BasicTestingSetup) static const int64_t values[] = \ { 0, 1, CHAR_MIN, CHAR_MAX, UCHAR_MAX, SHRT_MIN, USHRT_MAX, INT_MIN, INT_MAX, UINT_MAX, LONG_MIN, LONG_MAX }; |