diff options
author | Marko Simovic <markobarko@gmail.com> | 2014-03-19 12:35:16 +0800 |
---|---|---|
committer | Marko Simovic <markobarko@gmail.com> | 2014-03-19 12:35:16 +0800 |
commit | 72ea831cd5c7740f95343422589fa2b16f680a37 (patch) | |
tree | 4328704c4eda48fcbc2869fa7c2620c81abfd704 /main.cpp | |
parent | 07e1b513bac15ae0cf50c01b6ca11a06293aa269 (diff) | |
download | dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.gz dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.bz2 dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.lz dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.xz dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.tar.zst dexon-solidity-72ea831cd5c7740f95343422589fa2b16f680a37.zip |
Updated test project to use Boost Test
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); } |