예제 #1
0
        public void ShouldGetShortVolatileFromNativeBuffer(IAtomicBuffer buffer)
        {
            Marshal.WriteInt16(buffer.BufferPointer, Index, ShortValue);

            Assert.That(buffer.GetShortVolatile(Index), Is.EqualTo(ShortValue));
        }