Ad
  • Custom User Avatar

    My bad, I didn't get kata. I thought that they are equal. Thank you a lot.

  • Custom User Avatar

    Yep, you right, sorry for that.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    I would have implemented your   suggestion but you cant change tests when more than 500 people have completed it. I do really appreciate feedback but dont you think saying, hey man, thanks for tha kata, I was struggling with seeing what went wrong with my tests when they failed, could you maybe please somehow print out the input data is better than I think the test description is bad? Learn how to have more respect when you complete someones work that they have done for a community for free at his own expense and time.

  • Custom User Avatar

    Because it is how tests should look like.

  • Custom User Avatar

    Hey, in my case one of the variables I was running .length on was indeed null. Fixed that and no error now.

  • Custom User Avatar

    same shit here

  • Default User Avatar

    So you know how to print out and see all input data, you just want me to do it for you?

  • Custom User Avatar

    Why 0 0 1 1 1 0 / 0 0 0 0 0 0 1 should be drow?

  • Custom User Avatar

    Yep, I know that, but I just want to say, that appropriate test description is better.

  • Default User Avatar

    You can do console.log to print out the args then you can see input data.

  • Custom User Avatar

    This tests has no description at all. So if it fail, it fail. All output is: Expect true to be false, and so on. And in this case you cannot check your kata, and verify it. Please add description like: "'xOxOx' should be false: failed, expect true to be false."
    I'd like to see input data in submition tests too.

    Thanks.

  • Default User Avatar

    Any suggestions on how to improve it? Or do you like to just criticize without contributing anything?

  • Custom User Avatar

    I think that tests description is bad.