public void Constructors22_Test() { //Ported from Const22.cs OutputHelper.WriteLine("Tests if assignments in both a class' constructors are functional when a parametered constructor extends"); OutputHelper.WriteLine("a not-parametered one with 'this'"); Assert.True(ConstructorsTestClass22.testMethod()); }
public MFTestResults Constructors22_Test() { //Ported from Const22.cs Log.Comment("Tests if assignments in both a class' constructors are functional when a parametered constructor extends"); Log.Comment("a not-parametered one with 'this'"); if (ConstructorsTestClass22.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool testMethod() { ConstructorsTestClass22 Test = new ConstructorsTestClass22(2); if (Test.intI == 4) { return(true); } else { return(false); } }
public static bool testMethod() { ConstructorsTestClass22 Test = new ConstructorsTestClass22(2); if (Test.intI == 4) { return true; } else { return false; } }