示例#1
0
        public void UrlElement_WithPropertiesSet_ReturnsSameValuesForProperties()
        {
            var url = new UrlElement(new Uri("http://someurl.com"), DateTime.MinValue, ChangeFrequency.Never, 0);

            StringAssert.AreEqualIgnoreCase("http://someurl.com/", url.Location);
            Assert.AreEqual(DateTime.MinValue, url.LastModified);
            Assert.AreEqual(ChangeFrequency.Never, url.ChangeFrequency);
            Assert.AreEqual(0, url.Priority);
        }
示例#2
0
 public void AreEqualIgnoreCase()
 {
     StringAssert.AreEqualIgnoreCase("hello", "HELLO");
 }
示例#3
0
 public static void should_be_equal_ignoring_case(this string item, string other)
 {
     StringAssert.AreEqualIgnoreCase(item, other);
 }
示例#4
0
 static public void should_be_equal_ignoring_case(this string result, string expected)
 {
     StringAssert.AreEqualIgnoreCase(expected, result);
 }