From ae7d00edf2f02912ec9c04919ea7535c93d2d1e0 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Wed, 12 Jan 2022 04:54:19 +0000 Subject: [PATCH] Intermediate ftp, no libcurl on mac --- test.cpp | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/test.cpp b/test.cpp index 20d1aa9..ad954bc 100644 --- a/test.cpp +++ b/test.cpp @@ -1,15 +1,22 @@ #include "book.hpp" #include "json.hpp" #include "protocol.hpp" +#include "bom.hpp" #include <chrono> +#include <unistd.h> +#include <unordered_map> int main(void) { - book::Book b = book::testBook(10, true); + // 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(); - } +// protocol::catchUp(bs); +// std::cout << bs.size() << std::endl; +// for (auto i : bs) { +// std::cout << i.first << std::endl; +// i.second.printBook(); +// } + bom::initialise(); + bom::updateBom(bs); + bom::destroy(); } -- Gitblit v1.9.3