Tests.CppInstancePtrTests.TestFromNativePtr C# (CSharp) Method

TestFromNativePtr() private method

private TestFromNativePtr ( ) : void
return void
        public void TestFromNativePtr()
        {
            IntPtr native = CreateCSimpleSubClass (0);
                        CppInstancePtr cppip = new CppInstancePtr (native);
                        Assert.AreEqual (native, cppip.Native);
                        Assert.IsFalse (cppip.IsManagedAlloc, "#A1");
                        cppip.Dispose ();
                        DestroyCSimpleSubClass (native);
        }