Ejemplo n.º 1
0
        public void validatecountry_returns_false_when_passed_unexpected_country()
        {
            string invalidCountry = "invalid";

            bool isValid = StampBase.ValidateCountry(invalidCountry);

            Assert.IsFalse(isValid, $"Expected ValidateCountry to return false an unexpected condition: {invalidCountry}");
        }
Ejemplo n.º 2
0
        public void validatecountry_returns_true_when_passed_valid_country()
        {
            foreach (string country in StampBase.STAMP_COUNTRIES)
            {
                bool isValid = StampBase.ValidateCountry(country);

                Assert.IsTrue(isValid);
            }
        }