Ad
  • Default User Avatar

    Wow! Cool! But for some reason it does not work when checking. ) Maybe you need to import something? )))))))))

  • Default User Avatar

    Yes, Chrono79, you are right) I corrected the code and everything worked)

  • Default User Avatar

    Thank you, Chrono79, I will look again closely)

  • Default User Avatar

    Unfortunately, kata does not work correctly:

    @Test
    public void test5() {
    assertEquals(0, Kata.TripleDouble(451999277L, 411777228L));
    }

    @Test
    public void test6() {
      assertEquals(0, Kata.TripleDouble(1112L, 122L));
    

    I corrected to 0 to 1.
    @Test
    public void test5() {
    assertEquals(1, Kata.TripleDouble(451999277L, 411777228L));
    }

    @Test
    public void test6() {
      assertEquals(1, Kata.TripleDouble(1112L, 122L));
    }
    

    After that, the tests worked successfully.
    But by clicking "ATTEMPT" an error test 6 appeared and I can not control it.