• Custom User Avatar

    Enabled in this fork

  • Custom User Avatar

    Why can't I print out the input on the tests I'm failing? Console log is only working on some of the test cases but not on all of them. The console log is the first line of the function.

  • Custom User Avatar

    This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/93 Please join the discussion to help us identify duplicate kata and retire them.

  • Custom User Avatar

    Wouldn't it make more sense to return the hash with the denominations sorted in an order (asc or desc)

    or is (nickels, pennies, dimes, quarters) a conventional way to do it?

  • Custom User Avatar
  • Custom User Avatar

    my bad i read it wrong
    it works fine now
    tnx

  • Custom User Avatar

    Pennies (1¢), Nickels (5¢), Dimes (10¢) and Quarters (25¢)

    The test is ok.

  • Custom User Avatar

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

  • Custom User Avatar

    Ruby 3.0 should be enabled, see this to learn how to do it

    Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)

    describe "<This message should describe the categories of test groups inside this block>" do
      it "<A short message describing this test group>" do
        expect(...).to eq(...) #Assertions
        #Or Test.assert_equals(user_response, reference_response)
      end
    end
    
  • Custom User Avatar

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

  • Custom User Avatar

    oml im so dumb thank you for piointing that out

  • Custom User Avatar

    Not a kata issue, check this:

    {'Nickles': 0, 'Pennies': 4, 'Dimes': 0, 'Quarters': 1} should equal
    {'Nickels': 0, 'Pennies': 4, 'Dimes': 0, 'Quarters': 1}
          ^^
    
  • Custom User Avatar

    Python:
    I was able to finally complete the code to this Kata...but when I attempt it, it comes up with the failed even though
    it is correct. Why is this?

    ex:
    {'Nickles': 0, 'Pennies': 4, 'Dimes': 0, 'Quarters': 1} should equal {'Nickels': 0, 'Pennies': 4, 'Dimes': 0, 'Quarters': 1}

    Though I failed all of my test cases even if they are correct??

  • Custom User Avatar

    edit: spelling mistake...

    I'm having the same problem, was this resolved?

    Py 3.6.0

    Exit code 1:
    {'Nickles': 0, 'Pennies': 4, 'Dimes': 0, 'Quarters': 1} should equal {'Nickels': 0, 'Pennies': 4, 'Dimes': 0, 'Quarters': 1}

  • Custom User Avatar

    Im using python 3.6 and I'm returning the entrie dictionary. The only error message I get is that the responses don't match when they do. This is gyazo link that shows the output, https://gyazo.com/5ff93f8e697791642214b6eba4469922.

  • Loading more items...