Ad
  • Default User Avatar

    the code in the test:
    for (int r : res)
    assertEquals(res, SqInRect.sqInRect(5, 3));

    should be replaced with just:
    assertEquals(res, SqInRect.sqInRect(5, 3));

    reason: it just repeats equal test