public void Indexers12_Test() { OutputHelper.WriteLine(" Section 10.8"); OutputHelper.WriteLine(" The type on an indexer declaration specifies"); OutputHelper.WriteLine(" the element type of the indexer introduced"); OutputHelper.WriteLine(" by the declaration"); Assert.True(IndexersTestClass12.testMethod()); }
public MFTestResults Indexers12_Test() { Log.Comment(" Section 10.8"); Log.Comment(" The type on an indexer declaration specifies"); Log.Comment(" the element type of the indexer introduced"); Log.Comment(" by the declaration"); if (IndexersTestClass12.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }