public void WithdrawalTest() { var _banking = new Banking(); // Value will stay the same - balance cant drop below 0 _banking.RecordWithdrawal(-65); Assert.AreEqual(_banking.balance, 50); _banking.RecordWithdrawal(-10); Assert.AreEqual(_banking.balance, 40); // Make sure balance can hit 0 _banking.RecordWithdrawal(-40); Assert.AreEqual(_banking.balance, 0); }