### Question:
Max { public int max(int first, int second) { return first >= second ? first : second; }  int max(int first, int second); int max(int first, int second, int third);  }### Answer:
@Test public void whenFirstLessSecond() { int result = maxim.max(1, 2); assertThat(result, is(2)); }
@Test public void whenSecondLessFirst() { int result = maxim.max(3, 2); assertThat(result, is(3)); }
@Test public void whenFirstEqualSecond() { int result = maxim.max(4, 4); assertThat(result, is(4)); }
@Test public void whenFirstOfThreeNumbersMore() { int result = maxim.max(6, 4, 2); assertThat(result, is(6)); }
@Test public void whenSecondofThreeNumbersMore() { int result = maxim.max(3, 10, 1); assertThat(result, is(10)); }
@Test public void whenThirdOfThreeNumbersMore() { int result = maxim.max(4, 8, 15); assertThat(result, is(15)); }
@Test public void whenThreeNumbersEquals() { int result = maxim.max(2, 2, 2); assertThat(result, is(2)); }