Skip to content

[Alphametics] Add more easy cases.#425

Merged
Insti merged 1 commit intoexercism:masterfrom
Insti:Alphametics_cases
Oct 27, 2016
Merged

[Alphametics] Add more easy cases.#425
Insti merged 1 commit intoexercism:masterfrom
Insti:Alphametics_cases

Conversation

@Insti
Copy link
Copy Markdown
Contributor

@Insti Insti commented Oct 24, 2016

Add a few more easy cases so people can be a little more sure their solution is working before they run up against memory/time constraints* when trying to solve the harder problems.

Re-order the problems in order of difficulty.

Rename tests to match number of letters in the result.

* The naive implementation of a solution tends to be O(n!)

Rename tests to match number of letters in the result.
Insti added a commit to Insti/exercism-ruby that referenced this pull request Oct 24, 2016
Ignore test cases based on the complexity of the expected result.

Hardcoded commented out versions of the hard(er) tests along with
instructions on why you might want to enable them.

Refactored lib/alphametics_cases.rb.
Use the common generator method names.
Tidied up expected value string generation code.

Re-generate tests based on version based on proposed changes.
exercism/problem-specifications#425

Update `example.rb` to pass the current version of tests.
@Insti Insti merged commit b760eb4 into exercism:master Oct 27, 2016
emcoding pushed a commit that referenced this pull request Nov 19, 2018
Date is not necessary for tests nor solution
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.

1 participant