I think the 3rd simple test for Python is wrong:
Expected "Yellow" wins for following input
"F_Yellow", "G_Red", "D_Yellow", "C_Red", "A_Yellow", "A_Red", "E_Yellow", "D_Red", "D_Yellow", "F_Red",
"B_Yellow", "E_Red", "C_Yellow", "D_Red", "F_Yellow", "D_Red", "D_Yellow", "F_Red", "G_Yellow", "C_Red",
"F_Yellow", "E_Red", "A_Yellow", "A_Red", "C_Yellow", "B_Red", "E_Yellow", "C_Red", "E_Yellow", "G_Red",
"A_Yellow", "A_Red", "G_Yellow", "C_Red", "B_Yellow", "E_Red", "F_Yellow", "G_Red", "G_Yellow", "B_Red",
"B_Yellow", "B_Red"
but "Red" wins after step 22 (step 2 "E_Red" in the line 3)
A yr
B y
C ryr
D yryRry
E yrR
F yRyry
G Ry
PHP translation is ready. Please, review and approve
Done.
https://www.codewars.com/kumite/5c69ce2c147cb05295fa715a?sel=5d45ed089934e7001d77c4dd
You are right. Fixed
PHP Translation Please, review and approve.
This comment is hidden because it contains spoiler information about the solution
Hi,
PHP Translation is ready
After step 22 the board looks like:
And you can see - "Yellow" is winner
I've made a new translation. I'm surprised, can I approve my translation myself?
Yes. You are right. I made a mistake
Third test for Python expects Yellow
I think the 3rd simple test for Python is wrong:
Expected "Yellow" wins for following input
"F_Yellow", "G_Red", "D_Yellow", "C_Red", "A_Yellow", "A_Red", "E_Yellow", "D_Red", "D_Yellow", "F_Red",
"B_Yellow", "E_Red", "C_Yellow", "D_Red", "F_Yellow", "D_Red", "D_Yellow", "F_Red", "G_Yellow", "C_Red",
"F_Yellow", "E_Red", "A_Yellow", "A_Red", "C_Yellow", "B_Red", "E_Yellow", "C_Red", "E_Yellow", "G_Red",
"A_Yellow", "A_Red", "G_Yellow", "C_Red", "B_Yellow", "E_Red", "F_Yellow", "G_Red", "G_Yellow", "B_Red",
"B_Yellow", "B_Red"
but "Red" wins after step 22 (step 2 "E_Red" in the line 3)
A yr
B y
C ryr
D yryRry
E yrR
F yRyry
G Ry
It seems test for PHP name_of_mystery() is broken. Any return values is passed