Beispiel #1
0
 public void Constructors22_Test()
 {
     //Ported from Const22.cs
     OutputHelper.WriteLine("Tests if assignments in both a class' constructors are functional when a parametered constructor extends");
     OutputHelper.WriteLine("a not-parametered one with 'this'");
     Assert.True(ConstructorsTestClass22.testMethod());
 }
 public MFTestResults Constructors22_Test()
 {
     //Ported from Const22.cs
     Log.Comment("Tests if assignments in both a class' constructors are functional when a parametered constructor extends");
     Log.Comment("a not-parametered one with 'this'");
     if (ConstructorsTestClass22.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }