Пример #1
0
        public void CcittTrue_A()
        {
            var crc = Crc16.GetCcittTrue();

            crc.ComputeHash(Encoding.ASCII.GetBytes("123456789"));
            Assert.Equal(0x2189, (ushort)crc.HashAsInt16);
        }