Beispiel #1
0
 public MFTestResults Indexers55_Test()
 {
     Log.Comment("Testing 10 explicitly specified indexers");
     if (IndexersTestClass55.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
Beispiel #2
0
            public static bool testMethod()
            {
                IndexersTestClass55 MC = new IndexersTestClass55();

                if (MC[1, 2, 3, 4, 5, 6, 7, 8, 9, 10] == 55)
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
            public static bool testMethod()
            {

                IndexersTestClass55 MC = new IndexersTestClass55();

                if (MC[1, 2, 3, 4, 5, 6, 7, 8, 9, 10] == 55)
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
 public void Indexers55_Test()
 {
     OutputHelper.WriteLine("Testing 10 explicitly specified indexers");
     Assert.True(IndexersTestClass55.testMethod());
 }