Update implemented toString function

This commit is contained in:
Lev
2021-06-12 19:33:24 -05:00
parent d09c87819a
commit 40750a8d28
3 changed files with 10 additions and 2 deletions

View File

@ -12,7 +12,8 @@ int main()
//app.init();
Wallet wallet;
wallet.insertCurrency("BTC", 10);
std::cout << "Wallet has BTC " << wallet.containsCurrency("BTC", 11) << std::endl;
wallet.insertCurrency("USDT", 100.83);
std::cout << "Wallet has BTC " << wallet.containsCurrency("USDT", 100.50) << std::endl;
std::cout << wallet.toString() << std::endl;
//CSVReader::readCSV("20200317.csv");