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.
Doh! my bad(( thanks!
proving something, based on the fact that he himself did not understand the condition...)) s..t happens
Because there is no problem with the tests, your current code has a little problem, read this part again, fix your code:
I just wanted to try to find a catch, what if I also in this room and have 0 points. Dont look on this.
still you do not want to understand me. of your choice
You had
Object.keys(meet).length + 1
in your code.twelve?) I wrote 11 (and i pass 97 tests out of 100)
sensibility does not matter, there are only whole numbers in test. It means that in any case, we will sometime get 55 in total.
The test error is that when the sum of the numbers is 55 (given that we doubled the boss's points), the test expects a negative result, which it will never get
solution: replace condition from
happiness >= 5
tohappiness > 5
for examplep.s. The warning text also has some problems.
anyway, I'll try again, maybe im wrong
You're mutating the input too.
Rdnxla: you code is wrong, not a kata issue. Why are you dividing by twelve?
maxikrbr: js tests aren't sensible to input mutation anymore.
This comment is hidden because it contains spoiler information about the solution
Please, post you code for further assistance. Consider that js tests are sensible to input mutation.
JS. Random test have a mistake! All times when we get
summ === 55
- it call error. Because count of members === 11. 55 / 11 = 5 but test expects "go away!" and expect smth of 4.75I think you understand.
Hellfingers: no, your code is wrong. You're only checking if the boss's happiness is <= 5 or not, and that's not what you should be doing at all.
The java problem still has the same error
Thaaaaaaaaaaaaanks dude! You're awesome!
Well, yes, but i do not understand why that particular test failed. But do not fret, it must have been something wrong on my side. Sorry about the long thread.
Fixed. Also fixed actual and expected were flipped in random tests and updated to Node 14.
Loading more items...