public static void TestEolianEinaValueInReturn() { test.Testing obj = new test.TestingConcrete(); using (eina.Value v = new eina.Value(eina.ValueType.Int32)) { v.Set(42); obj.SetValuePtr(v); Test.AssertEquals(eina.ValueOwnership.Managed, v.Ownership); eina.Value v_received = obj.GetValuePtrOwn(); Test.AssertEquals(eina.ValueOwnership.Managed, v_received.Ownership); Test.AssertEquals(v, v_received); v_received.Dispose(); } }