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.
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>"doit"<A short message describing this test group>"doexpect(...).toeq(...) #Assertions#Or Test.assert_equals(user_response, reference_response)endend
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?
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.
Enabled in this fork
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.
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.
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?
This is a duplicate of https://www.codewars.com/kata/5365bb5d5d0266cd010009be
my bad i read it wrong
it works fine now
tnx
The test is ok.
This comment is hidden because it contains spoiler information about the solution
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)
This comment is hidden because it contains spoiler information about the solution
oml im so dumb thank you for piointing that out
Not a kata issue, check this:
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??
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}
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...