Ejemplo n.º 1
0
 public MFTestResults Fields53_testMethod()
 {
     Log.Comment("Testing bools assigned with (x == y)");
     if (FieldsTestClass53.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
            public static bool testMethod()
            {
                FieldsTestClass53 mc = new FieldsTestClass53();

                if ((b1 == true) && (b2 == false) && (mc.b3 == true) && (mc.b4 == false))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
 public void Fields53_testMethod()
 {
     OutputHelper.WriteLine("Testing bools assigned with (x == y)");
     Assert.True(FieldsTestClass53.testMethod());
 }
Ejemplo n.º 4
0
            public static bool testMethod()
            {

                FieldsTestClass53 mc = new FieldsTestClass53();

                if ((b1 == true) && (b2 == false) && (mc.b3 == true) && (mc.b4 == false))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }