Ejemplo n.º 1
0
        public static void TestEolianEinaValueOutByValue()
        {
            test.Testing obj = new test.TestingConcrete();

            using (eina.Value v = new eina.Value(eina.ValueType.String)) {
                eina.Value v_out = null;

                v.Set("hello!");
                obj.SetValue(v);
                obj.OutValue(out v_out);

                Test.AssertEquals(v, v_out);
                Test.AssertEquals(eina.ValueOwnership.Managed, v_out.Ownership);
            }
        }