public void Constructors16_Test() { //Ported from Const16.cs OutputHelper.WriteLine("Tests if assignments in a constructor function, when test class inherits constructor"); OutputHelper.WriteLine("and extends it with base"); Assert.True(ConstructorsTestClass16.testMethod()); }
public MFTestResults Constructors16_Test() { //Ported from Const16.cs Log.Comment("Tests if assignments in a constructor function, when test class inherits constructor"); Log.Comment("and extends it with base"); if (ConstructorsTestClass16.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool testMethod() { ConstructorsTestClass16 Test = new ConstructorsTestClass16(); if (Test.intI == 4) { return(true); } else { return(false); } }
public static bool testMethod() { ConstructorsTestClass16 Test = new ConstructorsTestClass16(); if (Test.intI == 4) { return true; } else { return false; } }