mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
tests: add a BasicTestingSetup and apply to all tests
Make sure that chainparams and logging is properly initialized. Doing this for every test may be overkill, but this initialization is so simple that that does not matter. This should fix the travis issues.
This commit is contained in:
@@ -12,8 +12,9 @@
|
||||
#include "arith_uint256.h"
|
||||
#include <string>
|
||||
#include "version.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(arith_uint256_tests)
|
||||
BOOST_FIXTURE_TEST_SUITE(arith_uint256_tests, BasicTestingSetup)
|
||||
|
||||
/// Convert vector to arith_uint256, via uint256 blob
|
||||
inline arith_uint256 arith_uint256V(const std::vector<unsigned char>& vch)
|
||||
|
||||
Reference in New Issue
Block a user