public void Const5_Test() { //Ported from const5.cs OutputHelper.WriteLine("Section 10.3"); OutputHelper.WriteLine("A constant-declaration may include a set of attributes,"); OutputHelper.WriteLine("a new modifier, and one of four access modifiers. The"); OutputHelper.WriteLine("attributes and modifiers apply to all of the members "); OutputHelper.WriteLine("declared by the constant declaration."); Assert.True(ConstTestClass5.test()); }
public MFTestResults Const5_Test() { //Ported from const5.cs Log.Comment("Section 10.3"); Log.Comment("A constant-declaration may include a set of attributes,"); Log.Comment("a new modifier, and one of four access modifiers. The"); Log.Comment("attributes and modifiers apply to all of the members "); Log.Comment("declared by the constant declaration."); if (ConstTestClass5.test()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }