In your Coding Questions, test cases are the different types of inputs to your code to test your defined logic and produce the output.  A test case is termed “passed” when the output from your code exactly matches the expected output. Else, the status “Wrong Answer”  is indicated against the test case.