-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for exercises #82
Comments
There should be a full test suite with the code. It's organized a little weird i guess |
I guess here for example should be something like this: var input = // some test input data
var output = // result of applying function
var sentences = function () {};
assert(sentences(input), output); This would help to understand what should function do and help to know if you write it right before looking to the answers. |
Oh oh, i see. You mean, put the test into the book text? |
@DrBoolean I think it would be better if all the exercises could be done without knowledge about github. Just with the book in front of your eyes. |
I can try to rewrite those with such tests inside and without implicit |
I see now! I'm down for a small experiment |
Requesting to add tests for exercises in the book. So people can test their solutions against these tests.
The text was updated successfully, but these errors were encountered: