예제 #1
0
        public void CollisionImplementationBothExplicit()
        {
            var             o     = new CollisionImplementationBothExplicit();
            ITestInterface  test  = o;
            ITestInterface2 test2 = o;
            var             s     = test.Method();
            var             s2    = test2.Method();

            AssertEquals(s, "ITestInterface");
            AssertEquals(s2, "ITestInterface2");
        }
예제 #2
0
파일: MethodTests.cs 프로젝트: x335/WootzJs
 public void CollisionImplementationBothExplicit()
 {
     var o = new CollisionImplementationBothExplicit();
     ITestInterface test = o;
     ITestInterface2 test2 = o;
     var s = test.Method();
     var s2 = test2.Method();
     AssertEquals(s, "ITestInterface");
     AssertEquals(s2, "ITestInterface2");
 }