public void TestCeil() { int[] array = new int[] { 0, 1, 2, 3, 4, 6, 6, 7, 8, 9, 10 }; BinarySearch <int> searcher = new BinarySearch <int>(); int idx = searcher.Ceil(array, 5); Assert.AreEqual(idx, 5); }