public static void Withdraw_ShouldReturnTrue_When_FundsAreSufficient(double deposit, double withdraw) { var account = new RetirementAccount("123"); account.Deposit(deposit); Assert.True(account.WithDraw(withdraw)); }
public static void Withdraw_ShouldReturnFalse_When_FundsAreNotSufficient() { var account = new RetirementAccount("123"); Assert.False(account.WithDraw(1)); }