public MFTestResults Constructors24_Test() { //Ported from Const24.cs Log.Comment("Tests if assignments in all a class' constructors are functional in a chain of extension using 'this'"); if (ConstructorsTestClass24.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool testMethod() { ConstructorsTestClass24 Test = new ConstructorsTestClass24(3, 4); if (Test.intI == 36) { return(true); } else { return(false); } }
public void Constructors24_Test() { //Ported from Const24.cs OutputHelper.WriteLine("Tests if assignments in all a class' constructors are functional in a chain of extension using 'this'"); Assert.True(ConstructorsTestClass24.testMethod()); }
public static bool testMethod() { ConstructorsTestClass24 Test = new ConstructorsTestClass24(3, 4); if (Test.intI == 36) { return true; } else { return false; } }