public void Const44_Test()
 {
     //Ported from const44.cs
     OutputHelper.WriteLine("Section 10.3");
     OutputHelper.WriteLine("The type of a constant must be at least as acccessible as the constant itself.");
     Assert.True(ConstTestClass44.test());
 }
Пример #2
0
 public MFTestResults Const44_Test()
 {
     //Ported from const44.cs
     Log.Comment("Section 10.3");
     Log.Comment("The type of a constant must be at least as acccessible as the constant itself.");
     if (ConstTestClass44.test())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }