public void SecondTry(int[] A, int expected) { var solution = new Algorithms.Codility.CountingElements.MissingInteger.MissingInteger(); var actual = solution.SecondTry(A, expected); Assert.AreEqual(expected, actual); }
public static IEnumerable <object[]> benchmarkData() { var solution = new Algorithms.Codility.CountingElements.MissingInteger.MissingInteger(); var data = solution.Data(); foreach (object[] item in data) { yield return(item); } }