public void PurchaseNotComplete() { //Arrange Product product = new Candy(); int moneyPoolPot = 5; int price = 20; //Act bool result = product.PurchaseComplete(moneyPoolPot, price); //Assert Assert.False(result); }
public void PurchaseComplete() { //Arrange IProduct iProduct = new Candy(); int moneyPoolPot = 5; int price = 4; //Act bool result = iProduct.PurchaseComplete(moneyPoolPot, price); //Assert Assert.True(result); }