commit | author | age | ||
16b655 | 1 | #include "book.hpp" |
JG | 2 | #include "json.hpp" |
3 | #include "protocol.hpp" | |
4 | #include <chrono> | |
5 | ||
6 | int main(void) | |
7 | { | |
8 | book::Book b = book::testBook(10, true); | |
9 | auto bs = protocol::recoverBook(); | |
10 | std::cout << bs.size() << std::endl; | |
11 | for (auto i : bs) { | |
12 | std::cout << i.first << std::endl; | |
13 | i.second.printBook(); | |
14 | } | |
15 | } |