public void Attributes_should_be_considered_the_same_if_local_name_matches() { var attribute = NewAttribute("anAttribute"); var result = new AttributeComparer().Compare(attribute, attribute); Assert.That(result, Is.EqualTo(EQUAL)); }
public void Attributes_should_be_compared_alphabetically_4() { var left = NewAttribute("aaaaa"); var right = NewAttribute("aaaa"); var result = new AttributeComparer().Compare(left, right); Assert.That(result, Is.EqualTo(GREATER_THAN)); }