public void SerializePropertyVector2DTest(byte[] rawData, float x, float y) { var reader = new NetBitReader(rawData); var result = reader.SerializePropertyVector2D(); var expected = new FVector2D(x, y); Assert.Equal(expected, result); Assert.False(reader.IsError); Assert.True(reader.AtEnd()); }