public void NthMinTest() { int[] array = new[] { 1, 1, 3, 5, 7, 8, 1 }; Assert.AreEqual(1, ExtrElmClass.NthMin(3, array)); }
public void MaxTest() { int[] array = new[] { 1, 1, 3, 5, 7, 8, 1 }; Assert.AreEqual(8, ExtrElmClass.Max(array)); }