public void Test_Meguru_Int64() { BinarySearch.Meguru(0L, 5L, x => x <= 0).Is(0); BinarySearch.Meguru(0L, 5L, x => x <= 3).Is(3); BinarySearch.Meguru(0L, 5L, x => x <= 4).Is(4); }
public void Test_Meguru_Int32() { BinarySearch.Meguru(0, 5, x => x <= 0).Is(0); BinarySearch.Meguru(0, 5, x => x <= 3).Is(3); BinarySearch.Meguru(0, 5, x => x <= 4).Is(4); }