public MFTestResults BaseClass1_Test()
 {
     Log.Comment("Tests an int declaration with assignment in a base class");
     if (BaseClassTestClass1.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
            public static bool testMethod()
            {
                BaseClassTestClass1 MC = new BaseClassTestClass1();

                if (MC.intI == 2)
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
Ejemplo n.º 3
0
 public static bool testMethod()
 {
     BaseClassTestClass1 MC = new BaseClassTestClass1();
     if (MC.intI == 2)
     {
         return true;
     }
     else
     {
         return false;
     }
 }
 public void BaseClass1_Test()
 {
     OutputHelper.WriteLine("Tests an int declaration with assignment in a base class");
     Assert.True(BaseClassTestClass1.testMethod());
 }