コード例 #1
0
 public MFTestResults NS_compunit_04_Test()
 {
     Log.Comment("Section 9.1 Compilation Units");
     Log.Comment("Two source files with their own namespaces, each have a class named A, and can be used successfully by a third file");
     if (NS_TestClass_compunit_04.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
コード例 #2
0
 public void NS_compunit_04_Test()
 {
     OutputHelper.WriteLine("Section 9.1 Compilation Units");
     OutputHelper.WriteLine("Two source files with their own namespaces, each have a class named A, and can be used successfully by a third file");
     Assert.True(NS_TestClass_compunit_04.testMethod());
 }