Fundamental rule for testing functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Fundamental rule for testing functions

"Every function should be tested in a program in which every other function in that program has already been fully tested and debugged" what does that mean? please help..

3rd Jun 2018, 4:24 PM
sayed sayed
sayed sayed - avatar
1 Answer
+ 3
well it means you should use a proper, working program, as test case. to debug any function you created, implement it in your test case, so that you won't have to deal with unnecessary problems and thus making it easier for you to debug the function.
3rd Jun 2018, 4:34 PM
‎ ‏‏‎Anonymous Guy