Ejemplo n.º 1
0
        public void EmptyFile()
        {
            byte[] result = CRC16IBMContext.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "empty"));

            result.Should().BeEquivalentTo(_expectedEmpty);
        }
Ejemplo n.º 2
0
        public void Crc16IbmEmptyFile()
        {
            byte[] result = CRC16IBMContext.File(Path.Combine(Consts.TEST_FILES_ROOT, "Checksum test files", "empty"));

            Assert.AreEqual(_expectedEmpty, result);
        }