Beispiel #1
0
 public void TestInheritedFunctionCallFromCpp()
 {
     var a = new CSharpA();
     var b = new CSharpB();
     a.SetName( "bob" );
     a.SayHello();
     b.SetA( a );
     Assert.AreEqual(  "C++ Call A:C# Hell!", b.CallA() );
 }
Beispiel #2
0
        public void TestInheritedFunctionCallFromCpp()
        {
            var a = new CSharpA();
            var b = new CSharpB();

            a.SetName("bob");
            a.SayHello();
            b.SetA(a);
            Assert.AreEqual("C++ Call A:C# Hell!", b.CallA());
        }