0

What are different types of "Test Cases" in code coach challenges ?

21st Dec 2019, 4:05 PM
Jeevan Chandra Joshi
Jeevan Chandra Joshi - avatar
4 odpowiedzi
+ 4
If you think about the program you must write, there are some special cases that need testing. Those will likely be part of the test cases. If there were less than five, additional tests will be made up. Each case is defined as the inputs to be used and the output to receive. You pass when your code generates the expected output.
22nd Dec 2019, 4:04 AM
John Wells
John Wells - avatar
+ 2
No. They only care about the output you make.
22nd Dec 2019, 4:39 AM
John Wells
John Wells - avatar
+ 2
They hid a part of the test cases in order to avoid cheating...one can cover all the cases, knowing the input/expected output with switch/case like statements (eg. if/elif). SoloLearn cannot check manually 2500 codes for that.
22nd Dec 2019, 6:06 AM
Mihai Apostol
Mihai Apostol - avatar
0
John Wells thanku... Are there any test cases regarding time and space complexity ?
22nd Dec 2019, 4:08 AM
Jeevan Chandra Joshi
Jeevan Chandra Joshi - avatar