Esempio n. 1
0
        public void Test012(string controlClasses, string testClasses)
        {
            var comparison = ToAttributeComparison($@"<p class=""{controlClasses}"">", "class",
                                                   $@"<p class=""{testClasses}"">", "class");

            ClassAttributeComparer.Compare(comparison, CompareResult.Different).ShouldBe(CompareResult.Different);
        }
Esempio n. 2
0
        public void Test010()
        {
            var comparison = ToAttributeComparison(@"<p class=""foo"">", "class",
                                                   @"<p bar=""bar"">", "bar");

            ClassAttributeComparer.Compare(comparison, CompareResult.Different).ShouldBe(CompareResult.Different);
        }