예제 #1
0
 private void ValidateTimeMultipleOf30(int TimeOfPurchase, DateTime DateOfPurchase)
 {
     if (CountryHandler.ValidateTimeOfPurchaseByCountry(TimeOfPurchase))
     {
         ValidateDate(TimeOfPurchase, DateOfPurchase);
     }
     else
     {
         SetMessage("La cantidad de minutos debe ser múltiplo de 30.");
     }
 }
예제 #2
0
 public void ValidateTimeOfPurchaseByCountryUruguay()
 {
     Assert.AreEqual(true, Uruguay.ValidateTimeOfPurchaseByCountry(30));
 }
예제 #3
0
 public void ValidateTimeOfPurchaseByCountryArgentina()
 {
     Assert.AreEqual(true, Argentina.ValidateTimeOfPurchaseByCountry(30));
 }