public void Const30_Test()
 {
     //Ported from const30.cs
     OutputHelper.WriteLine("Section 10.3");
     OutputHelper.WriteLine("Constants are permitted to depend on other constants");
     OutputHelper.WriteLine("within the same project as long as the dependencies");
     OutputHelper.WriteLine("are not of a circular nature.  The compiler automatically");
     OutputHelper.WriteLine("arranges to evaluate the constant declarations in the");
     OutputHelper.WriteLine("appropriate order.");
     Assert.True(ConstTestClass30.test());
 }
Exemple #2
0
 public MFTestResults Const30_Test()
 {
     //Ported from const30.cs
     Log.Comment("Section 10.3");
     Log.Comment("Constants are permitted to depend on other constants");
     Log.Comment("within the same project as long as the dependencies");
     Log.Comment("are not of a circular nature.  The compiler automatically");
     Log.Comment("arranges to evaluate the constant declarations in the");
     Log.Comment("appropriate order.");
     if (ConstTestClass30.test())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }