예제 #1
0
        public void PeekIntTest(int value)
        {
            const int min = -2000, max = 0;

            m_stream.WriteInt32(value, min, max);
            m_stream.ResetRead();
            Assert.AreEqual(value, m_stream.PeekInt32(min, max));
            Assert.AreEqual(0, m_stream.BitOffset);
        }