Example #1
0
        public void Verify_url_invalid()
        {
            string validurl = "http://www.nrk.no...";

            Assert.IsFalse(UrlValidator.IsValid(validurl), "Error: " + validurl + "");
        }
Example #2
0
        public void Verify_url_valid()
        {
            string validurl = "www.nrk.no";

            Assert.IsTrue(UrlValidator.IsValid(validurl), "Error: " + validurl + " is not a valid URL.");
        }