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); }
public void AreEqualIgnoreCase() { StringAssert.AreEqualIgnoreCase("hello", "HELLO"); }
public static void should_be_equal_ignoring_case(this string item, string other) { StringAssert.AreEqualIgnoreCase(item, other); }
static public void should_be_equal_ignoring_case(this string result, string expected) { StringAssert.AreEqualIgnoreCase(expected, result); }