public void Constructors17_Test() { //Ported from Const17.cs OutputHelper.WriteLine("Tests if assignments in a constructor function, when test class inherits 2 constructors"); OutputHelper.WriteLine("and extends one of them with base"); Assert.True(ConstructorsTestClass17.testMethod()); }
public MFTestResults Constructors17_Test() { //Ported from Const17.cs Log.Comment("Tests if assignments in a constructor function, when test class inherits 2 constructors"); Log.Comment("and extends one of them with base"); if (ConstructorsTestClass17.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool testMethod() { ConstructorsTestClass17 Test = new ConstructorsTestClass17(); if (Test.intI == 6) { return(true); } else { return(false); } }
public static bool testMethod() { ConstructorsTestClass17 Test = new ConstructorsTestClass17(); if (Test.intI == 6) { return true; } else { return false; } }