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