February 1, 2007 at 4:37 pm
When testing the following segment of code, what should be the minimum number of tests you need to perform against the code to be sure it is working as expecting?
bool isLongString (string s) {
if (s.Length > 10)
return true;
else
return false;
}
February 1, 2007 at 5:14 pm
Are you sure this code is written in T-SQL?
_____________
Code for TallyGenerator
February 1, 2007 at 5:28 pm
very open ended question
February 1, 2007 at 6:15 pm
Considering your other post, this looks a lot like a take-home exam.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply