public void TransferMinFundsFailAll([Values(200)] int a, [Values(0, 20)] int b, [Values(190, 345)] int c) { CUSTOMER source = new CUSTOMER(); source.Deposit(a); CUSTOMER destination = new CUSTOMER(); destination.Deposit(b); destination = source.TransferMinFunds(destination, c); }
public void TransferNegativeAmount(int a, int b, int c) { CUSTOMER source = new CUSTOMER(); source.Deposit(a); CUSTOMER destination = new CUSTOMER(); destination.Deposit(b); destination = source.TransferMinFunds(destination, c); }
public void TransferMinFunds(int a, int b, int c) { CUSTOMER source = new CUSTOMER(); source.Deposit(a); CUSTOMER destination = new CUSTOMER(); destination.Deposit(b); source.TransferMinFunds(destination, c); Assert.AreEqual(c, destination.Balance); }