Skip to content

all-your-base: update tests to version 2.1.0 - #1211

Merged
sjwarner-bp merged 1 commit into
exercism:masterfrom
FridaTveit:AllYourBaseUpdate
Jan 9, 2018
Merged

sjwarner-bp merged 1 commit into
exercism:masterfrom
FridaTveit:AllYourBaseUpdate

Conversation

@FridaTveit

Copy link
Copy Markdown
Contributor

Fixes #1160.
Canonical data.

I didn't add the last test because it's not possible in our implementation. Our tests expect an exception to be thrown when a BaseConverter object is created with an invalid base. Therefore it's not possible to provide both an invalid initial base and an invalid output base. I think it's fine to stick with what we've currently got, let me know if you disagree 🙂


Reviewer Resources:

Track Policies

@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.

This looks good to me! I think that it makes sense to deviate slightly from the canonical data in this case 🙂

@sjwarner-bp
sjwarner-bp merged commit ce4f8bb into exercism:master Jan 9, 2018
@sjwarner-bp

Copy link
Copy Markdown
Contributor

Thanks for that @FridaTveit 🙂

@FridaTveit
FridaTveit deleted the AllYourBaseUpdate branch April 20, 2018 08:01
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