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."); } }
public void ValidateTimeOfPurchaseByCountryUruguay() { Assert.AreEqual(true, Uruguay.ValidateTimeOfPurchaseByCountry(30)); }
public void ValidateTimeOfPurchaseByCountryArgentina() { Assert.AreEqual(true, Argentina.ValidateTimeOfPurchaseByCountry(30)); }