From 441abf1e6a15a39f1ef7bf5e4ee2a4a43bff327b Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Thu, 20 Jan 2022 05:18:00 +0000
Subject: [PATCH] Added names and ready notice

---
 test.cpp |   31 +++++++++++++++----------------
 1 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/test.cpp b/test.cpp
index 6226a44..b4c19b2 100644
--- a/test.cpp
+++ b/test.cpp
@@ -11,29 +11,28 @@
 
 int main(void)
 {
-    std::chrono::nanoseconds time(0);
-    for (int i = 0; i < trials; i++)
-    {
-        auto s = std::chrono::high_resolution_clock::now();
-        book::Book b = book::testBook(100, false);
-        auto e = std::chrono::high_resolution_clock::now();
-        time += e - s;
-    }
-    std::cout << time.count() / trials << std::endl;
+	std::chrono::nanoseconds time(0);
+	for (int i = 0; i < trials; i++) {
+		auto s = std::chrono::high_resolution_clock::now();
+		book::Book b = book::testBook(100, false);
+		auto e = std::chrono::high_resolution_clock::now();
+		time += e - s;
+	}
+	std::cout << time.count() / trials << std::endl;
 	// 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();
-		// }
+	// 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();
 	// protocol::catchUp(bs);
 	// std::cout << bs.size() << std::endl;
 	// for (auto& i : bs) {
-		// std::cout << i.first << ", " << i.second.expiry.count() << ", " << i.second.bomPrice << std::endl;
-		// i.second.printBook();
+	// std::cout << i.first << ", " << i.second.expiry.count() << ", " <<
+	// i.second.bomPrice << std::endl; i.second.printBook();
 	// }
 }

--
Gitblit v1.9.3