Skip to content

transpose: add .md and .yml#285

Merged
kytrinyx merged 4 commits intoexercism:masterfrom
andrey-gvrd:transpose
Jul 24, 2016
Merged

transpose: add .md and .yml#285
kytrinyx merged 4 commits intoexercism:masterfrom
andrey-gvrd:transpose

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.

transpose.md Outdated
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