Ad
  • Default User Avatar

    i tried to improve the assertion messages, and added some input validation. if you want to train on this improved version, save your code somewhere, click the RESET button, and paste back your code.

  • Default User Avatar

    the logging for Shell in this kata is not ideal, but pasting your code and running the sample tests, i do see:

    testing: 835871232077058, 1
    expected: 30
    Shell Stdout
    29
    Test Failed
    expected: 30
         got: 29
    

    "shell stdout" means your answer here, while "expected" is the correct answer and 835871232077058, 1 the input

  • Default User Avatar

    Is echo the proper way to return an output of a function in Bash? In my Bash script, I am storing the number of iterations as counter. My script finishes with echo $counter and the value printed to the console matches the expected output, but the the testing script says that it got 0.

  • Default User Avatar

    Not clear description. Can you describe getting the value in examples?

  • Default User Avatar

    I can't understand the conditions. The tests pass and the rest does not. Can you explain?

  • Default User Avatar

    We need a clear explanation of how to do this. “preset Colors” it’s not clear how and what to do with it. C#