@Test public void testAll() { for (int oi = 0; oi < testObjects.length; oi++) { for (int i = 0; i < allNums.length; i++) { int[] nums = allNums[i]; int result = results[i]; Assert.assertEquals(result, testObjects[oi].findMin(nums)); } } }
public int findMin(int[] nums) { return 0; }
FindMinimuminRotatedSortedArray { public int findMin(int[] nums) { return 0; } }
FindMinimuminRotatedSortedArray { public int findMin(int[] nums) { return 0; }  }
FindMinimuminRotatedSortedArray { public int findMin(int[] nums) { return 0; }  int findMin(int[] nums); }
FindMinimuminRotatedSortedArray { public int findMin(int[] nums) { return 0; }  int findMin(int[] nums);  }