From 611ad7b12fcc6b34229316099ae66bccbcf24ad9 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Wed, 12 Jan 2022 06:12:35 +0000 Subject: [PATCH] Pull data from ftp and parse --- test.cpp | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/test.cpp b/test.cpp index 68371ea..ad954bc 100644 --- a/test.cpp +++ b/test.cpp @@ -1,6 +1,7 @@ #include "book.hpp" #include "json.hpp" #include "protocol.hpp" +#include "bom.hpp" #include <chrono> #include <unistd.h> #include <unordered_map> @@ -9,10 +10,13 @@ { // book::Book b = book::testBook(10, true); auto bs = protocol::recoverBook(); - protocol::catchUp(bs); - 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