SON tests skeleton
This commit is contained in:
parent
9b4917227d
commit
60eb4272bf
2 changed files with 24 additions and 0 deletions
|
|
@ -33,6 +33,10 @@ file(GLOB BETTING_TESTS "betting/*.cpp")
|
|||
add_executable( betting_test ${BETTING_TESTS} ${COMMON_SOURCES} )
|
||||
target_link_libraries( betting_test graphene_chain graphene_app graphene_account_history graphene_bookie graphene_egenesis_none fc graphene_wallet ${PLATFORM_SPECIFIC_LIBS} )
|
||||
|
||||
file(GLOB PEERPLAYS_SIDECHAIN_TESTS "peerplays_sidechain/*.cpp")
|
||||
add_executable( peerplays_sidechain_test ${PEERPLAYS_SIDECHAIN_TESTS} ${COMMON_SOURCES} )
|
||||
target_link_libraries( peerplays_sidechain_test graphene_chain graphene_app graphene_account_history graphene_bookie graphene_egenesis_none fc graphene_wallet ${PLATFORM_SPECIFIC_LIBS} )
|
||||
|
||||
file(GLOB TOURNAMENT_TESTS "tournament/*.cpp")
|
||||
add_executable( tournament_test ${TOURNAMENT_TESTS} ${COMMON_SOURCES} )
|
||||
target_link_libraries( tournament_test graphene_chain graphene_app graphene_account_history graphene_egenesis_none fc ${PLATFORM_SPECIFIC_LIBS} )
|
||||
|
|
|
|||
20
tests/peerplays_sidechain/peerplays_sidechain_tests.cpp
Normal file
20
tests/peerplays_sidechain/peerplays_sidechain_tests.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
#define BOOST_TEST_MODULE Peerplays SON Tests
|
||||
|
||||
BOOST_AUTO_TEST_CASE(peerplays_sidechain)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue