コード例 #1
0
 public MFTestResults Arith_arith065_Test()
 {
     Log.Comment("Section 7.7");
     if (Arith_TestClass_arith065.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
コード例 #2
0
            public static int Main_old()
            {
                Arith_TestClass_arith065 MC = new Arith_TestClass_arith065();
                string TestString1          = "foo";

                if ((TestString1 + MC) == "foobar")
                {
                    return(0);
                }
                else
                {
                    return(1);
                }
            }
コード例 #3
0
 public static int Main_old()
 {
     Arith_TestClass_arith065 MC = new Arith_TestClass_arith065();
     string TestString1 = "foo";
     if ((TestString1 + MC) == "foobar")
     {
         return 0;
     }
     else
     {
         return 1;
     }
 }
コード例 #4
0
 public void Arith_arith065_Test()
 {
     OutputHelper.WriteLine("Section 7.7");
     Assert.True(Arith_TestClass_arith065.testMethod());
 }