test.cpp
@@ -2,11 +2,14 @@ #include "json.hpp" #include "protocol.hpp" #include <chrono> #include <unistd.h> #include <unordered_map> int main(void) { // book::Book b = book::testBook(10, true); auto bs = protocol::recoverBook(); auto bs = protocol::recoverBook(); protocol::catchUp(bs); std::cout << bs.size() << std::endl; for (auto i : bs) { std::cout << i.first << std::endl;