Skip to content

updated tests - #1317

Merged
sjwarner-bp merged 2 commits into
exercism:masterfrom
tshradheya:raindrops-fix
Feb 15, 2018
Merged

sjwarner-bp merged 2 commits into
exercism:masterfrom
tshradheya:raindrops-fix

Conversation

@tshradheya

@tshradheya tshradheya commented Feb 14, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #1310
Fixes #1264

Updated Tests and Version number. Ready for Review

Reviewer Resources:

Track Policies

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks great! Thanks @tshradheya 🙂

I have one minor nitpick about consistency of the test names, otherwise it looks ready to merge! 🙂


@Ignore("Remove to run test")
@Test
public void soundForNumber6WithOnlyDistinctFactorOf3IsPling() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The test names are a bit inconsistent. Some of them just state the sound for this number is... whereas others state the sound for this number with factor... is.... I think either is fine but it would be good to be consistent 🙂 Also some of them are of the form soundForX whereas others are soundForNumberX. Again I think either is fine but it would be good to be consistent 🙂

If you want to stick to the sound for this number with factor... is... then I find the phrasing with only distinct factor a bit confusing. What exactly do you mean by that? The numbers do sometimes, like in this case, have other factors they're just not in the list of numbers that translate to raindrop sounds. I would maybe prefer something like soundForXIsYAsItHasFactorZ or something. What do you think? 🙂

@sjwarner-bp sjwarner-bp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks as though there might be a couple of extra import statements in the test file - could you check this for me? 🙂

@tshradheya

Copy link
Copy Markdown
Contributor Author

I have fixed both errors. Ready for Review

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great! Thank you @tshradheya! 😄

@sjwarner-bp sjwarner-bp left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perfect! Super speedy - thanks 🎉

I'll merge after the build succeeds 🙂

@tshradheya tshradheya closed this Feb 15, 2018
@tshradheya tshradheya reopened this Feb 15, 2018
@sjwarner-bp
sjwarner-bp merged commit 80ea399 into exercism:master Feb 15, 2018
hgvanpariya pushed a commit to hgvanpariya/java that referenced this pull request May 13, 2018
* updated tests

* fixed errors
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.

3 participants