7 kyu
Who Took The Car Key?
911 of 1,777Alex1100
Loading description...
Binary
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Ruby: move to 3.0 and RSpec, better assertion messages
Approved
Java translation
COBOL translation (author gone).
Approved
Please use new python test framework.
Done.
Please add sample tests.
added some time ago
is anynone can help me, what it's mean in the TDD
const chai = require("chai"); const assert = chai.assert;
describe("Solution", function() { it("should test for something", function() { // Test.assertEquals(1 + 1, 2); // assert.strictEqual(1 + 1, 2); }); });
From another kata, i never meet something like that. And because of it, i couldn't answer this kata Any help, thanks
You just need to click on Attempt rather that the CTRL+S shortcut. There are tests on the back-end. I was also initially confused about this, but figured it out after console logging 'hello' and running an Attempt. Hope it helps!
what hahaha, thanks @OmegaAl, i can done it
Ruby translation kumited :) please review and approve ~~
Still needs example test cases.
added some time ago
@Alexander1100
,Python translation kumited!
Even if you don't bother to make random test cases, atleast create a few more manually.
Updated with more tests. Check it out!
I've added a bunch more names and randomized the order for the test cases in order to avoid solutions that merely return all of the precomputed answers.
Needs random test cases.
(Or you like to see your own name just a leeetle too much. :P )
haha I guess I can mix it up ;)
This is resolved. I've added randomness to the test cases.
@Johan and Alex1100: Could one of you then please close the issue? Then I would approve this kata.
Yup.