Exemplo n.º 1
0
 public void TestGetMD5Hash()
 {
     Assert.AreEqual("7cf36c11d4a3ae49be41800cc694d0ed", HashUtils.GetMD5Hash(TestContext.CurrentContext.TestDirectory + "/../../../data//md5test.xml", true, false));
     Assert.AreEqual("7cf36c11d4a3ae49be41800cc694d0ed", HashUtils.GetGzippedMD5Hash(TestContext.CurrentContext.TestDirectory + "/../../../data//md5test.xml.gz", true, false));
     Assert.AreEqual("7cf36c11d4a3ae49be41800cc694d0ed", HashUtils.GetZippedMD5Hash(TestContext.CurrentContext.TestDirectory + "/../../../data//md5test.xml.zip", true, false));
 }