peerplays_migrated/tests/peerplays_sidechain/peerplays_sidechain_tests.cpp
Nathan Hourt 906ffa6351 Fix tests better
The solution being used for initializing the boost test modules is
now deprecated, so update it to use the global test fixture instead
2021-11-11 14:38:36 -05:00

15 lines
388 B
C++

#define BOOST_TEST_MODULE Peerplays SON Tests
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE(peerplays_sidechain) {
}
struct GlobalInitializationFixture {
GlobalInitializationFixture() {
std::srand(time(NULL));
std::cout << "Random number generator seeded to " << time(NULL) << std::endl;
}
};
BOOST_TEST_GLOBAL_FIXTURE(GlobalInitializationFixture);