Skip to content
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

isogram: add test generator #935

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

ferhatelmas
Copy link
Contributor

Part of #605.

@tleen
Copy link
Member

tleen commented Nov 2, 2017

Sorry for the delay I've been AFK for a few days. Will catch up on these soon.

@ferhatelmas
Copy link
Contributor Author

@tleen No worries 😄

if IsIsogram(c.word) != c.expected {
t.Fatalf("FAIL: Word %q, expected %v, got %v", c.word, c.expected, !c.expected)
if IsIsogram(c.input) != c.expected {
t.Fatalf("FAIL: Word %q, expected %t, got %t", c.input, c.expected, !c.expected)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think its worth adding the test case description here as an indicator for what went wrong?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better, added.

@ferhatelmas ferhatelmas merged commit 710358b into exercism:master Nov 6, 2017
@ferhatelmas ferhatelmas deleted the isogram-generator branch November 6, 2017 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants