Пример #1
0
  @Test(timeout = 2000)
  public void testCase3() {
    int minOdds = 84;
    int daysInYear = 9227;

    int expected = 184;
    int actual = solution.minPeople(minOdds, daysInYear);

    Assert.assertEquals(expected, actual);
  }
Пример #2
0
  @Test(timeout = 2000)
  public void testCase1() {
    int minOdds = 50;
    int daysInYear = 365;

    int expected = 23;
    int actual = solution.minPeople(minOdds, daysInYear);

    Assert.assertEquals(expected, actual);
  }