Open klikooo opened 7 years ago
Probably going to use Catch: https://github.com/philsquared/Catch/blob/master/docs/tutorial.md. It looks easy and is simple to implement.
Compile with: g++ -I../ test1.cpp -lcryptopp -lboost_system ../utils/allocators.h ../utils/allocators.cpp -lboost_thread -lboost_filesystem -lboost_system -lssl -lcrypto
g++ -I../ test1.cpp -lcryptopp -lboost_system ../utils/allocators.h ../utils/allocators.cpp -lboost_thread -lboost_filesystem -lboost_system -lssl -lcrypto
Compiling a test proves to be very hard, since there a lot of dependencies. Compiling all static libraries with a test does, unfortunately, not work
See digital-voting-pass/digital-voting-pass-multichain#3
Probably going to use Catch: https://github.com/philsquared/Catch/blob/master/docs/tutorial.md. It looks easy and is simple to implement.
Compile with:
g++ -I../ test1.cpp -lcryptopp -lboost_system ../utils/allocators.h ../utils/allocators.cpp -lboost_thread -lboost_filesystem -lboost_system -lssl -lcrypto