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

[Space-Age] - Change API to take planet as input #598

Merged
merged 1 commit into from
Jan 24, 2019

Conversation

tejasbubane
Copy link
Member

  • Rather than having multiple methods for each planet, just take it as input - makes the solution a lot simpler.

  • Also properly adheres to the canonical tests.

  • Removes the last extra test to check for reassigning of seconds - which is not in canonical data.

* Rather than having multiple methods for each planet, just take it as input - makes the solution a lot simpler.

* Also properly adheres to the [canonical
  tests](https://github.com/exercism/problem-specifications/blob/master/exercises/space-age/canonical-data.json).

* Removes the last extra test to check for reassigning of seconds - which is not in canonical data.
@tejasbubane tejasbubane changed the title Change API for space-age for take planet as input [Space-Age] - Change API for take planet as input Jan 24, 2019
@tejasbubane tejasbubane changed the title [Space-Age] - Change API for take planet as input [Space-Age] - Change API to take planet as input Jan 24, 2019
@SleeplessByte
Copy link
Member

SleeplessByte commented Jan 24, 2019 via email

@tejasbubane
Copy link
Member Author

but that removes our "prototype based" exercise.

I did not get what you mean here.

@SleeplessByte
Copy link
Member

SleeplessByte commented Jan 24, 2019 via email

@SleeplessByte SleeplessByte merged commit dc4b71a into exercism:master Jan 24, 2019
@tejasbubane tejasbubane deleted the space-age-api-change branch January 24, 2019 11:35
@tejasbubane
Copy link
Member Author

Check the mentor notes for this exercise. It will make more sense :D

Yes. 👍 I had it in mind to change mentor notes while making the change but forgot later.

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