示例#1
0
  @Test
  public void test_solve_2_and_1000() {
    int actual = Josephus.solve(2, 1000);

    assertEquals(1, actual);
  }
示例#2
0
  @Test
  public void test_solve_10_and_1000000() {
    int actual = Josephus.solve(10, 1000000);

    assertEquals(8, actual);
  }