Пример #1
0
 public void Constructors26_Test()
 {
     //Ported from Const26.cs
     OutputHelper.WriteLine("Tests if assignments in all a class' constructors are functional when a not-parametered one extends a");
     OutputHelper.WriteLine("not-parametered one in its base class, which in turn extends a parametered one in the base class");
     Assert.True(ConstructorsTestClass26.testMethod());
 }
Пример #2
0
 public MFTestResults Constructors26_Test()
 {
     //Ported from Const26.cs
     Log.Comment("Tests if assignments in all a class' constructors are functional when a not-parametered one extends a");
     Log.Comment("not-parametered one in its base class, which in turn extends a parametered one in the base class");
     if (ConstructorsTestClass26.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }