예제 #1
0
파일: CRC32.cs 프로젝트: paulyc/Aaru
 public void Crc32EmptyFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "empty"));
     Assert.AreEqual(_expectedEmpty, result);
 }
예제 #2
0
파일: CRC32.cs 프로젝트: paulyc/Aaru
 public void Crc32RandomFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "random"));
     Assert.AreEqual(_expectedRandom, result);
 }
예제 #3
0
 public void Crc32EmptyFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TestFilesRoot, "checksums", "empty"));
     Assert.AreEqual(ExpectedEmpty, result);
 }
예제 #4
0
 public void Crc32RandomFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TestFilesRoot, "checksums", "random"));
     Assert.AreEqual(ExpectedRandom, result);
 }
예제 #5
0
파일: CRC32.cs 프로젝트: arrowsmith001/Aaru
 public void EmptyFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "empty"));
     result.Should().BeEquivalentTo(_expectedEmpty);
 }