Ad
  • Custom User Avatar

    Ruby 3.0 should be enabled, read this to learn how to do it

    Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)

    describe "<This message should describe the categories of test groups inside this block>" do
      it "<A short message describing this test group>" do
        expect(...).to eq(...) #Assertions
        #Or Test.assert_equals(user_response, reference_response)
      end
    end
    
  • Custom User Avatar

    Needs puzzle tag.

    Also, needs to be unpublished. It's just not fun.

  • Custom User Avatar

    The kata should be solvable. Like actually solvable. Not "you have to guess whatever the fuck I've come up with", but a task where the user has any sligtest chance to understand what and how he's supposed to do. At this rate, you could have generated a 1000-characters-long string and did Test.expect(userFunction() === mySuperSecretString), just for the sake of shitposting (because there's no other word to describe this).

  • Default User Avatar

    ISSUE: The description makes no sense and doesn't provide any clue how to solve the kata.

    Questions:

    1. How is this a kata?
    2. How is this solvable?
    3. How should one guess what is supposed to be done?
    // Seriously???
    if(whatewerNonsenseIExpectFromTheUserToGuess) {
      console.log('Wow!')
    } else {
    var http = require('http');
    http.createServer(function (req, res) {
      res.writeHead(404, {'Content-Type': 'text/html'});
      res.write('Hello World!');
      res.end();
    }).listen(8080)
    }
    

    I haven't solved this. I looked at the solution as I didn't want to waste time to figure out your idea.

    Regards,

    suic

  • Custom User Avatar

    Strangely I could use letters. Your description should be more clear about what is and is not banned :P

  • Custom User Avatar
    • No sample tests.
    • No random tests.
    • Description doesn't specify how the array should be sorted.
    • Duplicate.