public void Const57_Test() { //Ported from const57.cs OutputHelper.WriteLine("Section 10.3"); OutputHelper.WriteLine("A constant declaration that declares multiple constants is equivalent to "); OutputHelper.WriteLine("multiple declarations of single constants with the same attributes, "); OutputHelper.WriteLine("modifiers, and type. "); Assert.True(ConstTestClass57.test()); }
public MFTestResults Const57_Test() { //Ported from const57.cs Log.Comment("Section 10.3"); Log.Comment("A constant declaration that declares multiple constants is equivalent to "); Log.Comment("multiple declarations of single constants with the same attributes, "); Log.Comment("modifiers, and type. "); if (ConstTestClass57.test()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }