public void UtfStringMarshalsCorrectly() { var obj = new Utf16Test { LargeString = "This is a test" }; Assert.Equal(obj.LargeString, Functions.PassThrough(obj).LargeString); }
public void InplaceUtf16StringMarshalsCorrectly() { var obj = new Utf16Test { SmallString = "Test" }; Assert.Equal(obj.SmallString, Functions.PassThrough(obj).SmallString); }