public void CollisionImplementationOneExplicit() { var o = new CollisionImplementationOneExplicit(); ITestInterface test = o; ITestInterface2 test2 = o; var s = test.Method(); var s2 = test2.Method(); AssertEquals(s, "ITestInterface"); AssertEquals(s2, "ITestInterface2"); }
public void CollisionImplementationBothExplicit() { var o = new CollisionImplementationBothExplicit(); ITestInterface test = o; ITestInterface2 test2 = o; var s = test.Method(); var s2 = test2.Method(); QUnit.AreEqual(s, "ITestInterface"); QUnit.AreEqual(s2, "ITestInterface2"); }