@user5036852 nvm; found a working solution; it looked like expected and actual was the correct input in the test which was very confusing
More tests needed, including random tests. And it's better if there's something related to the task in sample tests too.
You're right man! Thanks a lot! I will change this!
Ahhh, sorry. I ve seen you solved it. Now I got it.
Are you sure, expected and actual are twisted? You are the first from 60 PHP-guys who says this.
489 warriors did it without any problems. So maybe the tests are completely right....
Read the description again. I agree, it is not very easy to understand. ;-)
The expectations and result are around the wrong way in the unit tests. It makes the example suite say "expected xyz, actual yza" which is misleading, because it should be "expected yza" (for example).
Loading collection data...
@user5036852
nvm; found a working solution;
it looked like expected and actual was the correct input in the test which was very confusing
More tests needed, including random tests. And it's better if there's something related to the task in sample tests too.
You're right man! Thanks a lot! I will change this!
Ahhh, sorry. I ve seen you solved it. Now I got it.
Are you sure, expected and actual are twisted?
You are the first from 60 PHP-guys who says this.
489 warriors did it without any problems. So maybe the tests are completely right....
Read the description again. I agree, it is not very easy to understand. ;-)
The expectations and result are around the wrong way in the unit tests. It makes the example suite say "expected xyz, actual yza" which is misleading, because it should be "expected yza" (for example).