Ejemplo n.º 1
0
 public void Check_IsEnaugh_Success()
 {
     // arrange
     string name = "John";
     double amount = 150.0;
     bool hasCard = true;
     Customer testCustomer = new Customer(name, amount, hasCard);
     double sum = 100.0;
     // act
     bool isSuccess = testCustomer.IsEnaugh(sum);
     // assert
     Assert.AreEqual(true, isSuccess);
 }