示例#1
0
 public void EmptyFile()
 {
     byte[] result = Sha1Context.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "empty"));
     result.Should().BeEquivalentTo(_expectedEmpty);
 }
示例#2
0
 public void Sha1RandomFile()
 {
     byte[] result = Sha1Context.File(Path.Combine(Consts.TestFilesRoot, "checksums", "random"));
     Assert.AreEqual(ExpectedRandom, result);
 }
示例#3
0
文件: SHA1.cs 项目: paulyc/Aaru
 public void Sha1EmptyFile()
 {
     byte[] result = Sha1Context.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "empty"));
     Assert.AreEqual(_expectedEmpty, result);
 }
示例#4
0
 public void Sha1EmptyFile()
 {
     byte[] result = Sha1Context.File(Path.Combine(Consts.TestFilesRoot, "checksums", "empty"));
     Assert.AreEqual(ExpectedEmpty, result);
 }
示例#5
0
文件: SHA1.cs 项目: paulyc/Aaru
 public void Sha1RandomFile()
 {
     byte[] result = Sha1Context.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "random"));
     Assert.AreEqual(_expectedRandom, result);
 }