private static ITest[] Tests(IntByRef counter, int numTests, int[] failingIndices
                              )
 {
     ITest[] tests = new ITest[numTests];
     for (int i = 0; i < numTests; i++)
     {
         tests[i] = new OpaqueTestSuiteTestCase.CountingTest(counter, i + 1, Arrays4.IndexOf
                                                                 (failingIndices, i) >= 0);
     }
     return(tests);
 }
Пример #2
0
			private static ITest[] Tests(IntByRef counter, int numTests, int[] failingIndices
				)
			{
				ITest[] tests = new ITest[numTests];
				for (int i = 0; i < numTests; i++)
				{
					tests[i] = new OpaqueTestSuiteTestCase.CountingTest(counter, i + 1, Arrays4.IndexOf
						(failingIndices, i) >= 0);
				}
				return tests;
			}