コード例 #1
0
 public MFTestResults BaseClass4_Test()
 {
     Log.Comment("Tests a function declaration in a child class still works after child is cast as");
     Log.Comment("its parent class and an interface it implements");
     if (BaseClassTestClass4.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
コード例 #2
0
 public void BaseClass4_Test()
 {
     OutputHelper.WriteLine("Tests a function declaration in a child class still works after child is cast as");
     OutputHelper.WriteLine("its parent class and an interface it implements");
     Assert.True(BaseClassTestClass4.testMethod());
 }