Skip to content

sublist: Warn about comparing values #319

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

Merged
merged 1 commit into from
Aug 30, 2016
Merged

sublist: Warn about comparing values #319

merged 1 commit into from
Aug 30, 2016

Conversation

petertseng
Copy link
Member

In some languages, it is necesary to ensure that no pair of the four
possible expected values are equal. Otherwise, an essentially-empty
implementation may pass tests without actually doing any useful work.

Example: exercism/python#342

This same warning was added to the triangle JSON file in #311.

In some languages, it is necesary to ensure that no pair of the four
possible expected values are equal. Otherwise, an essentially-empty
implementation may pass tests without actually doing any useful work.

Example: exercism/python#342

This same warning was added to the triangle JSON file in #311.
@ErikSchierboom
Copy link
Member

Looks good to me.

@petertseng petertseng merged commit d745cbb into exercism:master Aug 30, 2016
@petertseng petertseng deleted the sublist-warning branch August 30, 2016 16:25
emcoding pushed a commit that referenced this pull request Nov 19, 2018
* Updated tests and example

`Bst#each` should return an enumerator if it doesn't get a block.
Added a test to ensure that it does and that the returned enumerator
behaves properly.

Added a version constant for the tests.

Updated `example.rb` to pass the updated tests.
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