Esempio n. 1
0
        public static void TestEolianEinaValueOutByValue()
        {
            test.ITesting obj = new test.Testing();

            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.Ownership.Managed, v_out.Ownership);
            }
        }