Skip to content

sublist: Warn about comparing values#319

Merged
petertseng merged 1 commit intoexercism:masterfrom
petertseng:sublist-warning
Aug 30, 2016
Merged

sublist: Warn about comparing values#319
petertseng merged 1 commit intoexercism:masterfrom
petertseng:sublist-warning

Conversation

@petertseng
Copy link
Copy Markdown
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
Copy Markdown
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