예제 #1
0
 public MFTestResults Indexers53_Test()
 {
     Log.Comment("Testing multiple comma seperated indexers with an overridden public abstract get and set");
     if (IndexersTestClass53.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
예제 #2
0
            public static bool testMethod()
            {
                IndexersTestClass53_Base mc = new IndexersTestClass53();

                mc[1, 2, 3] = 0;
                if (mc[1, 2, 3] == 6)
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
예제 #3
0
 public static bool testMethod()
 {
     IndexersTestClass53_Base mc = new IndexersTestClass53();
     mc[1, 2, 3] = 0;
     if (mc[1, 2, 3] == 6)
     {
         return true;
     }
     else
     {
         return false;
     }
 }
 public void Indexers53_Test()
 {
     OutputHelper.WriteLine("Testing multiple comma seperated indexers with an overridden public abstract get and set");
     Assert.True(IndexersTestClass53.testMethod());
 }