Ejemplo n.º 1
0
 public void Constructors17_Test()
 {
     //Ported from Const17.cs
     OutputHelper.WriteLine("Tests if assignments in a constructor function, when test class inherits 2 constructors");
     OutputHelper.WriteLine("and extends one of them with base");
     Assert.True(ConstructorsTestClass17.testMethod());
 }
Ejemplo n.º 2
0
 public MFTestResults Constructors17_Test()
 {
     //Ported from Const17.cs
     Log.Comment("Tests if assignments in a constructor function, when test class inherits 2 constructors");
     Log.Comment("and extends one of them with base");
     if (ConstructorsTestClass17.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }