• ###### Chrono79commented on "Fuel Calculator: Total Cost" kata

See the quotes in your answer, the expected value is a number.

• ###### Blind4Basicscommented on "Fuel Calculator: Total Cost" kata

which is obviously incorrect, isn't it?

• ###### claudiaalmeidavscommented on "Fuel Calculator: Total Cost" kata

Got this result `expected '5.65' to equal 5.65`

• ###### Harshak-r1commented on "Fuel Calculator: Total Cost" kata

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

Approved

• ###### saudiGuycreated a suggestion for "Fuel Calculator: Total Cost" kata

python new test framework is required. updated in this fork

• ###### hobovskycreated a suggestion for "Weird words " kata

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

• ###### rowcasedcreated a suggestion for "Fuel Calculator: Total Cost" kata

C Translation (author inactive).

• ###### Chrono79created an issue for "Fuel Calculator: Total Cost" kata

All border cases should be tested, 2, 4, 8 and 10 litres in fixed tests in all languages.

• ###### Chrono79resolved an issue on "Fuel Calculator: Total Cost" kata

Not a kata issue, one of your conditions is wrong:

Purchases of 2 or more litres get a discount of 5 cents per litre

You're doing a 50 cents discount. And because border cases aren't tested your code passed.

• ###### Chrono79commented on "Fuel Calculator: Total Cost" kata

Nothing is broken, your switch conditions are wrong:

Purchases of 2 or more litres get a discount of 5 cents per litre...

so I know im getting the discount correct

No, you're not, see the second sample test, print discount value.

• ###### yogabijacommented on "Fuel Calculator: Total Cost" kata

Yeah this is broken, especially for a level 8 kata
The formula is simple. I am using pattern matching without any fancy stuff, so I know im getting the discount correct
I can't pass all the tests, tweak the rounding and one test passes another failes, tweak it again and different tests pass/fail

fixed

• ###### anter69created an issue for "Weird words " kata

Yet another caesar cipher kata

• ###### Arsenatorcommented on "Fuel Calculator " kata

Can someone try my solution and tell me why this works so random? Sometime I have 6 failed, after few attempts it works