the problem with the given class should be resolved. It is not necessary to write a class to solve this kata, so the description is correct as it is. The purpose of the given class is to make the random test cases working. But I misplaced the class for my translation attempt, so the given error occured.
SleepingCode helped me getting this working. It should be possible to train the kata now.
Getting the same error.
After declaring empty PolynomialSimplifier class getting another error:
Error: Call to undefined method PolynomialSimplifier::simplify()
Yep, that 'PolynomialSimplifier' class was a rude one. If the description says "write a function", I do not necessarily imply to "write a method". Description could have been cleaner; I could have produced a non-fake OO solution.
Hi terminus_technicus,
the problem with the given class should be resolved. It is not necessary to write a class to solve this kata, so the description is correct as it is. The purpose of the given class is to make the random test cases working. But I misplaced the class for my translation attempt, so the given error occured.
SleepingCode helped me getting this working. It should be possible to train the kata now.
I've contacted the author of the translation...
I hope he can fix the issue soon.
Same error here, also in PHP.
Getting the same error.
After declaring empty PolynomialSimplifier class getting another error:
Error: Call to undefined method PolynomialSimplifier::simplify()
Yep, that 'PolynomialSimplifier' class was a rude one. If the description says "write a function", I do not necessarily imply to "write a method". Description could have been cleaner; I could have produced a non-fake OO solution.