Exemplo n.º 1
0
 public void Constructors23_Test()
 {
     //Ported from Const23.cs
     OutputHelper.WriteLine("Tests if assignments in both a class' constructors are functional when a not-parametered constructor extends");
     OutputHelper.WriteLine("a parametered one with 'this'");
     Assert.True(ConstructorsTestClass23.testMethod());
 }
Exemplo n.º 2
0
 public MFTestResults Constructors23_Test()
 {
     //Ported from Const23.cs
     Log.Comment("Tests if assignments in both a class' constructors are functional when a not-parametered constructor extends");
     Log.Comment("a parametered one with 'this'");
     if (ConstructorsTestClass23.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }