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.
It's been three years, but your code is incorrect. You currently return false for any job/candidate match where the job does not require all of the candidate's skills, which is backwards. The candidate needs to satisfy all of the job's requirements, but not all of the candidate's skills need to be utilized. Your code has other issues as well. There is no bug with the kata, although assertion messages should be improved.
That's the test setting the
idealYears
property of the job object to 10. The next line actually tests your function. Your function should returnfalse
for this test because at this point in the test, the job requires 10 years of coffeescript (or javascript with the substitution), but the candidate only has 3 years of experience. Currently, your function returnstrue
for this test, which is incorrect.Sorry, can someone help me?
I cant understand what it means:
"job.skills[0].idealYears = 10 // raise the ideal years above candidate years
Test.expect(!match(candidate,job), 'should not match when ideal years are higher');"
Enabled in this fork
If job.desire == 0 and cand.desire == true it means candidate thinks he is fcukin god and he doesnt want that job.
approved
yeeeesssss ive passes this vicious test by faking the winner lastly bacause i have no clue otherwise, that failure just seems random...
This comment is hidden because it contains spoiler information about the solution
The description describes what a perfect game (all strikes) looks like, but what does two strikes in a row look like
Really nice series.
This comment is hidden because it contains spoiler information about the solution
все правильно работает
Approved
approved
This comment is hidden because it contains spoiler information about the solution
Loading more items...