Exemplo n.º 1
0
 public MFTestResults Fields55_testMethod()
 {
     Log.Comment("Testing bools assigned with conditionals");
     if (FieldsTestClass55.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
            public static bool testMethod()
            {
                FieldsTestClass55 mc = new FieldsTestClass55();

                if ((i1 == 2) && (i2 == 7) && (mc.i3 == 2) && (mc.i4 == 7))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
 public void Fields55_testMethod()
 {
     OutputHelper.WriteLine("Testing bools assigned with conditionals");
     Assert.True(FieldsTestClass55.testMethod());
 }
Exemplo n.º 4
0
            public static bool testMethod()
            {

                FieldsTestClass55 mc = new FieldsTestClass55();

                if ((i1 == 2) && (i2 == 7) && (mc.i3 == 2) && (mc.i4 == 7))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }