Esempio n. 1
0
 public void GetHashAndSaltTest()
 {
     HashAlgorithm HashAlgorithm = null; // TODO: Initialize to an appropriate value
     int theSaltLength = 0; // TODO: Initialize to an appropriate value
     Hash target = new Hash(HashAlgorithm, theSaltLength); // TODO: Initialize to an appropriate value
     byte[] Data = null; // TODO: Initialize to an appropriate value
     byte[] Hash = null; // TODO: Initialize to an appropriate value
     byte[] HashExpected = null; // TODO: Initialize to an appropriate value
     byte[] Salt = null; // TODO: Initialize to an appropriate value
     byte[] SaltExpected = null; // TODO: Initialize to an appropriate value
     target.GetHashAndSalt(Data, out Hash, out Salt);
     Assert.AreEqual(HashExpected, Hash);
     Assert.AreEqual(SaltExpected, Salt);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }