public void CompareAttributes_Missing_ShouldFail()
        {
            XElement root1 = XElement.Parse(@"<Root a='1' b='2' xmlns='http://www.northwind.com'> <Child>1</Child></Root>");
            XElement root2 = XElement.Parse(@"<n:Root xmlns:n='http://www.northwind.com'><n:Child>1</n:Child></n:Root>");

            Assert.IsFalse(XmlCompare.CompareAttributes(root1, root2).AreSame);
        }
        public void CompareAttributes_Same_ShouldSucceed()
        {
            XElement root1 = XElement.Parse(@"<Root a='1' b='2' xmlns='http://www.northwind.com'> <Child>1</Child></Root>");
            XElement root2 = XElement.Parse(@"<n:Root b='2' a='1' xmlns:n='http://www.northwind.com'><n:Child>1</n:Child></n:Root>");

            Assert.IsTrue(XmlCompare.CompareAttributes(root1, root2).AreSame);
        }