Ad
  • Custom User Avatar

    There were no test cases provided for Ruby. I used:

    three = always(3)
    Test.assert_equals(three.call, 3, "Expected: 3, got #{three.call}")
    

    When submitting, I get this error:

    `always': wrong number of arguments (given 0, expected 1) (ArgumentError)
    	from `<main>'
    

    Is there a test for ruby, currently? I'm new to the functional side of Ruby, so I appreciated this Kata, but I don't know if it is finished on the Ruby side.

  • Custom User Avatar

    Perhaps a more clear instruction for handling the ordering of weights of the same weight:

    "In the event that multiple values exist with the same weight, those values should be placed in ascending order as well. (Ex. [2000, 11, 2] #=> [2, 11, 2000])"

    It took me some time to understand the instructions for handling this scenario, and I believe a slight change in the wording or the addition of an example would be helpful.

    Thanks,
    Dallas