Certainly the "example track" is one of the tested tracks, so you need to be able to pass that one.
The + is a valid crossing here because (when going to/from the /) it is treated same as if it was a |)
Also, the requirement is not quite as you wrote:
wrong:
/
/
/
-----+------
|
|
right:
/
/
/
-----+------
|
|
Do you think this is sufficiently confusing that I should add more examples to the way crossings are described?
(I'm really suprised nobody ever asked this question before)
thans for your quick answer.
well I didn't read the instructions very well, and mistakenly assumed that something like that was possible
this will leave room for ambiguity if for example we add a '+'
maybe giving more examples will make the task easier, as it will give more hints on
how to solve its up to you to decide .
Interesting question!
Certainly the "example track" is one of the tested tracks, so you need to be able to pass that one.
The
+
is a valid crossing here because (when going to/from the/
) it is treated same as if it was a|
)Also, the requirement is not quite as you wrote:
wrong:
right:
Hi, love your katas they are always a nice challenge and satisfying when completed.
I am still working on that one, and i have a problem with the accepted input for the track sequence.
in your examples you state that
is how crossings are layed on the track
in the example track i see
a bit unexpected, should i change my code to take care of this, or is it just a slight mistake in the example track ?
This comment is hidden because it contains spoiler information about the solution