private static ITest[] Tests(IntByRef counter, int numTests, int[] failingIndices ) { var tests = new ITest[numTests]; for (var i = 0; i < numTests; i++) { tests[i] = new CountingTest(counter, i + 1, Arrays4.IndexOf (failingIndices, i) >= 0); } return(tests); }
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); }