it returns this ['W', 'W', 'W', 'W', 'W', 'W', 'W', 'N'] should equal ['N', 'W', 'W', 'W', 'W', 'W', 'W', 'W'] randomly like an error, even when both solutions are correct.
Now I have to figure out how to make my code adapt to the order of those random text 😐.
ohhh, thanks. I didn't read that part. I'm YGO player.
@hobovsky
thanks for the report, fixed too
What about the test which sends
[ "" ]
as input? Is an empty string a valid direction?.
.
duplicate of this issue
here is a proposed fix
proposed fix
Java fork
From the description:
it returns this ['W', 'W', 'W', 'W', 'W', 'W', 'W', 'N'] should equal ['N', 'W', 'W', 'W', 'W', 'W', 'W', 'W'] randomly like an error, even when both solutions are correct.
Now I have to figure out how to make my code adapt to the order of those random text 😐.
done by OP
Approved
python new test framework is required. updated in this fork
Python:
The example tests and test suite aren't using the test framework, missing the imports (user's solution + framework).
C#: method name should be
PascalCase
(Please refer to implementation of backward compatibility here )Loading more items...