Joel Grunbaum
2022-01-12 611ad7b12fcc6b34229316099ae66bccbcf24ad9
commit | author | age
16b655 1 #include "book.hpp"
JG 2 #include "json.hpp"
3 #include "protocol.hpp"
ae7d00 4 #include "bom.hpp"
16b655 5 #include <chrono>
4fdb65 6 #include <unistd.h>
JG 7 #include <unordered_map>
16b655 8
JG 9 int main(void)
10 {
2c515f 11     // book::Book b = book::testBook(10, true);
4fdb65 12     auto bs = protocol::recoverBook();
ae7d00 13 //     protocol::catchUp(bs);
JG 14 //     std::cout << bs.size() << std::endl;
15 //     for (auto i : bs) {
16 //         std::cout << i.first << std::endl;
17 //         i.second.printBook();
18 //     }
19     bom::initialise();
20     bom::updateBom(bs);
21     bom::destroy();
16b655 22 }