Esempio n. 1
0
File: CRC32.cs Progetto: paulyc/Aaru
 public void Crc32EmptyFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "empty"));
     Assert.AreEqual(_expectedEmpty, result);
 }
Esempio n. 2
0
File: CRC32.cs Progetto: paulyc/Aaru
 public void Crc32RandomFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "random"));
     Assert.AreEqual(_expectedRandom, result);
 }
Esempio n. 3
0
 public void Crc32EmptyFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TestFilesRoot, "checksums", "empty"));
     Assert.AreEqual(ExpectedEmpty, result);
 }
Esempio n. 4
0
 public void Crc32RandomFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TestFilesRoot, "checksums", "random"));
     Assert.AreEqual(ExpectedRandom, result);
 }
Esempio n. 5
0
 public void EmptyFile()
 {
     byte[] result = Crc32Context.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "empty"));
     result.Should().BeEquivalentTo(_expectedEmpty);
 }