public void Constructors34_Test() { //Ported from Const34.cs OutputHelper.WriteLine("Tests if assignments in a class' constructor are functional when one constructor is static"); OutputHelper.WriteLine("and the other isn't"); Assert.True(ConstructorsTestClass34.testMethod()); }
public MFTestResults Constructors34_Test() { //Ported from Const34.cs Log.Comment("Tests if assignments in a class' constructor are functional when one constructor is static"); Log.Comment("and the other isn't"); if (ConstructorsTestClass34.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool testMethod() { bool RetVal = true; if (intI != 2) { RetVal = false; } ConstructorsTestClass34 Test = new ConstructorsTestClass34(); if (intI != 3) { RetVal = false; } return(RetVal); }
public static bool testMethod() { bool RetVal = true; if (intI != 2) { RetVal = false; } ConstructorsTestClass34 Test = new ConstructorsTestClass34(); if (intI != 3) { RetVal = false; } return RetVal; }