public void SavingsAbleToWithDraw() { SavingsAccount ca = new SavingsAccount(2000); ca.WithDrawMoney(1000); Assert.AreEqual(950, ca.Balance); }
public void SavingsNotAllowedToOverDraw() { SavingsAccount ca = new SavingsAccount(100); bool result = ca.WithDrawMoney(1000); Assert.IsFalse(result); Assert.AreEqual(100, ca.Balance); }