public void ShouldPutFloatToNativeBuffer(IAtomicBuffer buffer) { buffer.PutFloat(Index, FloatValue); var valueAsInt = Marshal.ReadInt32(buffer.BufferPointer, Index); var valueAsFloat = BitConverter.ToSingle(BitConverter.GetBytes(valueAsInt), 0); Assert.That(valueAsFloat, Is.EqualTo(FloatValue)); }