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 |   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