Ejemplo n.º 1
0
 public MFTestResults Fields57_testMethod()
 {
     Log.Comment("Testing strings assigned with \"x\" + \"y\"");
     if (FieldsTestClass57.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
            public static bool testMethod()
            {
                FieldsTestClass57 mc = new FieldsTestClass57();

                if ((s1 == "foobar") && (s2 == "barfoo") && (mc.s3 == "foobar") && (mc.s4 == "barfoo"))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
 public void Fields57_testMethod()
 {
     OutputHelper.WriteLine("Testing strings assigned with \"x\" + \"y\"");
     Assert.True(FieldsTestClass57.testMethod());
 }
Ejemplo n.º 4
0
            public static bool testMethod()
            {

                FieldsTestClass57 mc = new FieldsTestClass57();

                if ((s1 == "foobar") && (s2 == "barfoo") && (mc.s3 == "foobar") && (mc.s4 == "barfoo"))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }