Skip to content

low-power-embedded-game: change test order for clarity#1583

Closed
antonmry wants to merge 1 commit intoexercism:mainfrom
antonmry:fix/low-power-embedded-game
Closed

low-power-embedded-game: change test order for clarity#1583
antonmry wants to merge 1 commit intoexercism:mainfrom
antonmry:fix/low-power-embedded-game

Conversation

@antonmry
Copy link
Copy Markdown

@antonmry antonmry commented Nov 7, 2022

In this exercise, it's easy to think you must work with values instead of their position. The README only states it in the title:

2. Choose even-positioned items from an iterator

And the first tests are about sequences of numbers, so it makes sense. I wasn't the only one who made that mistake:

https://stackoverflow.com/a/71145392
https://stackoverflow.com/questions/69032551/in-rust-how-can-i-restrict-a-generic-t-to-allow-modulus

I propose to change the order of tests, so the test with strings is first. This should be easy, and it doesn't add more tests.

senekor added a commit that referenced this pull request Sep 10, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
@senekor
Copy link
Copy Markdown
Contributor

senekor commented Sep 10, 2023

superseded by #1725

@senekor senekor closed this Sep 10, 2023
senekor added a commit that referenced this pull request Sep 10, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
senekor added a commit that referenced this pull request Sep 11, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
senekor added a commit that referenced this pull request Sep 11, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
senekor added a commit that referenced this pull request Sep 11, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
senekor added a commit that referenced this pull request Sep 12, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
senekor added a commit that referenced this pull request Sep 12, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
senekor added a commit that referenced this pull request Sep 12, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
senekor added a commit that referenced this pull request Sep 13, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
senekor added a commit that referenced this pull request Sep 14, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.
senekor added a commit that referenced this pull request Sep 15, 2023
Source:
#1583

Students may think they have to work with values
instead of their position.
This confusion can easily be avoided if the first test uses strings.

[no important files changed]
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