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()); }
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); }
public static bool testMethod() { ConstructorsTestClass23 Test = new ConstructorsTestClass23(); if (Test.intI == 6) { return(true); } else { return(false); } }
public static bool testMethod() { ConstructorsTestClass23 Test = new ConstructorsTestClass23(); if (Test.intI == 6) { return true; } else { return false; } }