diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -20,6 +20,8 @@ * Main test functions. */ +#include <boost/test/unit_test.hpp> + // TODO: utilise the shared testdata. int trieTest(); @@ -34,7 +36,7 @@ int peerTest(int argc, char** argv); #include <BlockInfo.h> using namespace eth; -int main(int, char**) +BOOST_AUTO_TEST_CASE(basic_tests) { /* RLPStream s; BlockInfo::genesis().fillStream(s, false); @@ -51,7 +53,6 @@ int main(int, char**) // r += daggerTest(); // r += stateTest(); // r += peerTest(argc, argv); - assert(!r); - return 0; + BOOST_REQUIRE(!r); } |