Ad
  • Custom User Avatar

    @cforsyth68 I added function, thanks.
    I also used description you sent - thanks for that too.

  • Custom User Avatar

    @tiriana, consider using Preloaded section to define something but hide it from user. Maybe it can help designing example test cases (I'm not sure if it actually helps, I just wanted to highlight the possibility).

  • Custom User Avatar

    @MMMAAANNN Great idea - thx for that, I will add it to description.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    You should probably add an example of how .getWeight() method is used. Like this:

    Examples of scales.getWeight() usage:
    scales.getWeight([3], [7]) returns -1 if ball 3 is heavier than ball 7, 1 if ball 7 is heavier, or 0 i these balls have the same weight.
    scales.getWeight([3, 4], [5, 2]) returns -1 if weight of balls 3 and 4 is heavier than weight of balls 5 and 2 etc.

  • Custom User Avatar

    Hello :)

    I must say that 'This is the worst Kata I've seen' made my day :) I admit - the instructions could have been more clear, but to call it 'the worst'? :) I LOLed hard, thanks for that.

    I changed the description - please let me know if it's better now.