main.cpp
@@ -1,6 +1,15 @@ #include "book.hpp" #include "json.hpp" #include "protocol.hpp" #include <chrono> int main(void) { testBook(); book::Book b = book::testBook(10, true); auto bs = protocol::recoverBook(); std::cout << bs.size() << std::endl; for (auto i : bs) { std::cout << i.first << std::endl; i.second.printBook(); } }