public void BinarySearchTest()
        {
            int n = 10000;

            int[] arr = new int[n];
            for (int i = 0; i < n; i++)
            {
                arr[i] = i;
            }
            int excepted  = 9;
            int excepted1 = -1;

            int index  = BinartSearchClass.BinarySearchNR(arr, 9);
            int index1 = BinartSearchClass.BinarySearchRE(arr, 9);

            int index2 = BinartSearchClass.BinarySearchNR(arr, 111111);
            int index3 = BinartSearchClass.BinarySearchRE(arr, 10000);

            Assert.Equal(excepted, index);
            Assert.Equal(excepted, index1);
            Assert.Equal(excepted1, index2);
            Assert.Equal(excepted1, index3);
        }