public void OJ081_SearchInRotatedSortedArrayIITest4() { bool result = new OJ081_SearchInRotatedSortedArrayII().Search(new int[] { 1 }, 1); Assert.AreEqual(true, result); }
public void OJ081_SearchInRotatedSortedArrayIITest1() { bool result = new OJ081_SearchInRotatedSortedArrayII().Search(new int[] { 5, 5, 5, 5, 1, 2, 3, 4 }, 4); Assert.AreEqual(true, result); }