Пример #1
0
        public void CompareBytesTest(byte[] data, byte[] other, bool skip, bool expected)
        {
            var stream = new FastStreamReader(data);

            if (skip)
            {
                stream.SkipOneByte();
            }
            bool actual = stream.CompareBytes(other);

            Assert.Equal(expected, actual);
        }