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.
This is wrong. $yourPoint should be pushed to $classPoints in order to calculate correct average.
Edit: Ok, not necessary to pass.
Your code doesn't pass test
$this->assertEquals(true, betterThanAverage([2, 3], 3));
But you not included your points for the average.
Edit:
I see another comment that its the same :)
It looks like that's optional, afaik.
This comment is hidden because it contains spoiler information about the solution
why?
Rofl this is the wrong solution :D
your points have not been added to the average
10/10, would code again