public void TestMethod3() { int[] array = { 1, min, 7, max, max, 7, max, max }; int number = max; int counter = CountRepeatingValues.CountRepeatingVal(array, number); Assert.AreEqual(4, counter); }
public void TestMethod2() { int[] array = { 1, min, 3, max, 3 }; int number = min; int counter = CountRepeatingValues.CountRepeatingVal(array, number); Assert.AreEqual(1, counter); }