static void Main(string[] args)
 {
     Solution Sol = new Solution(new int[]{ 1, 7, 3, 4, 5 });
     Console.WriteLine("Min element not present in Array " + Sol.MinElementNonInArray);
     Console.WriteLine("Press any key to exit ...");
     Console.ReadKey();
 }
 public void SampleArray2()
 {
     Solution Sol = new Solution(new int[] { 9, 11, 8, 15 });
     Assert.AreEqual(10, Sol.MinElementNonInArray);
 }
 public void EmptyArray()
 {
     Solution Sol = new Solution(new int[] {});
 }
 public void SampleArray1()
 {
     Solution Sol = new Solution(new int[] { 9, 4, 8, 5 });
     Assert.AreEqual(6, Sol.MinElementNonInArray);
 }
 public void ElementDoesNotExists()
 {
     Solution Sol = new Solution(new int[] { 1, 2, 3, 4 });
     Assert.AreEqual(-1, Sol.MinElementNonInArray);
 }