Esempio n. 1
0
 public void TestInequality()
 {
     Assert.IsFalse(DirectoryPathEqualityComparer.Equals(@"D:\ASDE", @"D:\"));
 }
Esempio n. 2
0
        // [TestMethod, ExpectedException(typeof(ContractException))]
        // Uri.TryCreate considers "abc" a valid absolute Uri on linux. TODO: look into
        public void AssertDirectoryPathsMustBeAbsolute()
        {
            const string relativeDirectory = "abc";

            Assert.IsFalse(DirectoryPathEqualityComparer.Equals(relativeDirectory, @"D:\"));
        }
Esempio n. 3
0
 public void TestEquality()
 {
     Assert.IsTrue(DirectoryPathEqualityComparer.Equals(@"D:\ASDE", @"D:\ASDE"));
 }