public MFTestResults Constructors20_Test() { //Ported from Const20.cs Log.Comment("Tests if assignments in a constructor and its base are both functional"); if (ConstructorsTestClass20.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool testMethod() { ConstructorsTestClass20 Test = new ConstructorsTestClass20(); if (Test.intI == 14) { return(true); } else { return(false); } }
public void Constructors20_Test() { //Ported from Const20.cs OutputHelper.WriteLine("Tests if assignments in a constructor and its base are both functional"); Assert.True(ConstructorsTestClass20.testMethod()); }
public static bool testMethod() { ConstructorsTestClass20 Test = new ConstructorsTestClass20(); if (Test.intI == 14) { return true; } else { return false; } }