Skip to content

transpose: add .md and .yml #285

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 4 commits into from
Jul 24, 2016
Merged

Conversation

andrey-gvrd
Copy link
Contributor

In reference to rust implementation exercism/rust#151

@petertseng
Copy link
Member

The examples given seem to imply that the elements of the input should be transposed word-wise. For example, that:

Aaa Bbb Ccc
Ddd Eee Fff

would tranpose to;

Aaa Ddd
Bbb Eee
Ccc Fff

If I understand the test expectations in exercism/rust#151, it appears the transposition is instead character-wise. It would be good to make this clear in the readme so that there is no confusion. especially because character-wise may indicate that

A B C
D E F

is supposed to actually transpose to:

AD

BE

CF

which is not the same as what the example indicates.


Finally, it would indeed be good to get a file with common test cases.

@andrey-gvrd
Copy link
Contributor Author

Fixed the example to remove the ambiguity.

is given by:

```
A D
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why space?

@IanWhitney
Copy link
Contributor

I think this is ready. Will merge on Monday, July 18 unless someone says otherwise.

@kytrinyx kytrinyx merged commit bdd094a into exercism:master Jul 24, 2016
@kytrinyx
Copy link
Member

Thank you!

emcoding pushed a commit that referenced this pull request Nov 19, 2018
…as_been_improved

Clock: Canonical test improvements
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.

4 participants