Hidden test cases include your test setter's corner cases or different scenarios defined to validate your coding solution. These test cases check whether your solution addresses the problem, including its various constraints. They do not display the expected output of the test case.
Hidden Test Cases
For instance, the hidden test cases may be defined to validate your coding logic against boundary values, error handling scenarios, and so on. Depending on the complexity of the coding question or for specific skills assessment, your test setter may include one or more hidden test cases for your question.
When you click Run code, the hidden test cases get executed, where your output and debug output are displayed. You may use the print statement to debug why the hidden test cases are failing.
Typically, each hidden test case in a coding question may include specific scores for producing the exact expected output.
Note: Sometimes, your test setter might have disabled the output for hidden test cases. In such cases, you will not see the debug output for the hidden test cases.
The Hidden test cases are executed in the following example. Here you can see your output and debug output.
You can also refer to these topics for further information