Esempio n. 1
0
 @Test
 public void testRotatedSearchDuplNotThere() throws Exception {
   assertEquals(-1, Search.rotatedSearch(rotatedDupl, 6));
 }
Esempio n. 2
0
 @Test
 public void testRotatedSearchDupl() throws Exception {
   assertEquals(8, Search.rotatedSearch(rotatedDupl, 3));
 }