From 3f1e58cae4a3f1e4c2e95650f272fe081f3d4095 Mon Sep 17 00:00:00 2001 From: Lev Date: Sat, 12 Jun 2021 19:14:47 -0500 Subject: [PATCH] Update changed for testing the wallet --- .../Topic 5/5.1.7/main.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CM2005 Object Oriented Programming/Topic 5/5.1.7/main.cpp b/CM2005 Object Oriented Programming/Topic 5/5.1.7/main.cpp index 3fa96c4..93bf4e3 100644 --- a/CM2005 Object Oriented Programming/Topic 5/5.1.7/main.cpp +++ b/CM2005 Object Oriented Programming/Topic 5/5.1.7/main.cpp @@ -4,11 +4,16 @@ #include "OrderBookEntry.h" #include "MerkelMain.h" #include "CSVReader.h" +#include "Wallet.h" int main() { - MerkelMain app{}; - app.init(); + //MerkelMain app{}; + //app.init(); + Wallet wallet; + wallet.insertCurrency("BTC", 10); + std::cout << "Wallet has BTC " << wallet.containsCurrency("BTC", 11) << std::endl; + std::cout << wallet.toString() << std::endl; //CSVReader::readCSV("20200317.csv"); }