+ 1

What is use of Test Case # in code challenges? I solve a challenge and get a green tick on test case #1 but there are more!

16th Nov 2021, 7:09 AM
david chongo
david chongo - avatar
4 Antworten
+ 7
They are different inputs to check if your code is working properly or not as per the details given You will pass only if u get green tick on every test case
16th Nov 2021, 7:15 AM
Joy
Joy - avatar
+ 6
They are the various inputs to check if the code if working as per the details or not.
16th Nov 2021, 7:11 AM
Prabhas Koya
+ 4
Try to cover all the constraints mentioned in the question otherwise some test cases might fail.
16th Nov 2021, 7:53 AM
Lambda
Lambda - avatar
+ 3
Hi david chongo The different test cases are testing the flexibility of your code to output the correct result against different inputs.
16th Nov 2021, 9:37 AM
Rik Wittkopp
Rik Wittkopp - avatar