예제 #1
0
 public MFTestResults Indexers56_Test()
 {
     Log.Comment("Testing a single indexers with an overridden public abstract get");
     if (IndexersTestClass56.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
예제 #2
0
            public static bool testMethod()
            {
                IndexersTestClass56 MC = new IndexersTestClass56();

                if (MC.RetInt(2) == 3)
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
예제 #3
0
            public static bool testMethod()
            {

                IndexersTestClass56 MC = new IndexersTestClass56();

                if (MC.RetInt(2) == 3)
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
 public void Indexers56_Test()
 {
     OutputHelper.WriteLine("Testing a single indexers with an overridden public abstract get");
     Assert.True(IndexersTestClass56.testMethod());
 }