Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Happened to me as well, hahaha
Thanks for this. I was wondering if this could cause memory issues.
Thanks for the laugh xD
WAT
Well... I did feel proud of my solution. 🙃
Edit: Just realized I forgot to delete the
var_dump
line... 🤦Yes, and that's why I changed the tests to assertSame to test for data type too.
Aren't we supposed to return the value as a string?
Never mind... Seems like the issue was in how I was calculating the number of times the ball was seen at the window.
Maybe I'm missing something... The example instructions say that the ball will bounce to 2/3 of its original height (or whatever
bounce
is set to in each test). Won't that mean that the ball will consistently decrease its height by the percentage thatbounce
is set to?If so, wouldn't that make either the instructions or some of the tests wrong?