public void Indexers6_Test() { OutputHelper.WriteLine(" Section 10.8"); OutputHelper.WriteLine(" An indexer-declaration may include set of"); OutputHelper.WriteLine(" attributes, a new modifier, and a valid combination"); OutputHelper.WriteLine(" of the four access modifiers."); Assert.True(IndexersTestClass6.testMethod()); }
public MFTestResults Indexers6_Test() { Log.Comment(" Section 10.8"); Log.Comment(" An indexer-declaration may include set of"); Log.Comment(" attributes, a new modifier, and a valid combination"); Log.Comment(" of the four access modifiers."); if (IndexersTestClass6.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }