void BankTest::depositMoney() { Bank b; int clientID = 10; Money m(5, "USD"); b.deposit(clientID, m); QCOMPARE(Money(5, "USD"), b.accountBalance(clientID)); QCOMPARE(1, b.numberOfClients()); }
void BankTest::emptyBankHasZeroClients() { Bank b; QCOMPARE(0, b.numberOfClients()); }