@Test public void testFindPeakElement() { int[] nums = new int[] {1, 2, 3, 1}; int result = 2; Assert.assertEquals(result, testObject.findPeakElement(nums)); }
public int findPeakElement(int[] nums) { return 0; }
FindPeakElement { public int findPeakElement(int[] nums) { return 0; } }
FindPeakElement { public int findPeakElement(int[] nums) { return 0; }  }
FindPeakElement { public int findPeakElement(int[] nums) { return 0; }  int findPeakElement(int[] nums); }
FindPeakElement { public int findPeakElement(int[] nums) { return 0; }  int findPeakElement(int[] nums);  }