public void BinarySearchRecursSomeVariantsOfArrays()
 {
     Enumerable.Range(1, 7).ToList().ForEach(
         s =>
     {
         var tmp = Enumerable.Range(1, s).ToList();
         for (int i = 0; i < tmp.Count(); i++)
         {
             Assert.AreEqual(
                 BinarySearch.BinarySearchRecurs <int>(tmp, tmp[i], comparer),
                 i
                 );
         }
         Assert.IsNull(BinarySearch.BinarySearchRecurs <int>(tmp, s + 1, comparer));
     }
         );
 }
 public void BinarySearchRecursEmptyTest() =>
 Assert.IsNull(BinarySearch.BinarySearchRecurs <int>(new List <int>(), 3, comparer));