コード例 #1
0
 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());
 }
コード例 #2
0
ファイル: ConstTests.cs プロジェクト: leeholder/Netduino_SDK
 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);
 }