peerplays_migrated/tests/peerplays_sidechain/peerplays_sidechain_tests.cpp
Nathan Hourt 8a6bae6006 Fix tests
These tests did not properly define their BOOST_TEST_MODULE macro,
causing linking to fail in some environments.
2021-11-11 14:35:53 -05:00

17 lines
423 B
C++

#define BOOST_TEST_MODULE Peerplays SON Tests
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE(peerplays_sidechain) {
}
#include <boost/test/included/unit_test.hpp>
#include <cstdlib>
#include <iostream>
boost::unit_test::test_suite *init_unit_test_suite(int argc, char *argv[]) {
std::srand(time(NULL));
std::cout << "Random number generator seeded to " << time(NULL) << std::endl;
return nullptr;
}