Exemplo n.º 1
0
        public void Should_ReadInt10()
        {
            var bytes  = new byte[] { 232, 1 };
            var stream = new BitStream(bytes);
            var reader = new BitStreamReader(stream);
            var val    = reader.ReadInt10();

            Assert.AreEqual(Int10.ByteSize, stream.Length);
            Assert.AreEqual(488, val);
        }