Пример #1
0
 public void Constructors27_Test()
 {
     //Ported from Const27.cs
     OutputHelper.WriteLine("Tests if assignments in both a class' constructors are functional when a two-parametered constructor extends");
     OutputHelper.WriteLine("a one-parametered one with 'this'");
     Assert.True(ConstructorsTestClass27.testMethod());
 }
Пример #2
0
 public MFTestResults Constructors27_Test()
 {
     //Ported from Const27.cs
     Log.Comment("Tests if assignments in both a class' constructors are functional when a two-parametered constructor extends");
     Log.Comment("a one-parametered one with 'this'");
     if (ConstructorsTestClass27.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }