public void BaseClass10_Test() { OutputHelper.WriteLine("Section 10.1"); OutputHelper.WriteLine("The base classes of a class are the direct base"); OutputHelper.WriteLine("class and its base classes. In other words, the"); OutputHelper.WriteLine("set of base classes is the transitive closure of the "); OutputHelper.WriteLine("direct base class relatationship."); Assert.True(BaseClassTestClass10.testMethod()); }
public MFTestResults BaseClass10_Test() { Log.Comment("Section 10.1"); Log.Comment("The base classes of a class are the direct base"); Log.Comment("class and its base classes. In other words, the"); Log.Comment("set of base classes is the transitive closure of the "); Log.Comment("direct base class relatationship."); if (BaseClassTestClass10.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool testMethod() { BaseClassTestClass10 MC = new BaseClassTestClass10(); if ((MC.intI == 2) && (MC.intJ == 3)) { return(true); } else { return(false); } }
public static bool testMethod() { BaseClassTestClass10 MC = new BaseClassTestClass10(); if ((MC.intI == 2) && (MC.intJ == 3)) { return true; } else { return false; } }