Ad
  • Custom User Avatar

    Enjoying this series a lot but maybe I'm confused by the logic of this one. I can't pass the extended tests so I took one of the random test cases which had 23 developers consisting of
    8 Javascript
    8 Python
    7 Ruby

    The test said this should return false.

    No language has twice as many as another so this should return true surely?

  • Custom User Avatar

    Yes, that would work but it's not specified in the instructions we have to do that and the test cases it uses are not visible. There is an issue with this kata. I just forfeited to see the correct solutions and I did have a correct solution. Even other solutions given there are not passing when I copy / paste, the same error is coming up.

  • Custom User Avatar

    I believe I have the right solution and I'm passing the tests. However on submitting even though random tests pass I'm getting this for every random test

    Expected: 'Solution {\n name: '1d2n5fs0znevwgxy9zfr',\n age: 59,\n legs: 0,\n species: 'shark',\n status: 'wgs67mwk43d103yds4i' }', instead got: 'Shark {\n name: '1d2n5fs0znevwgxy9zfr',\n age: 59,\n legs: 0,\n species: 'shark',\n status: 'wgs67mwk43d103yds4i' }'

    Am I missing something, where is Solution coming from?