Home > Software > Testing > Manual-Testing
Interview Questions   Tutorials   Discussions   Programs   Videos   

Manual-Testing - Write test cases for the function f=a+b ?

asked marvit October 11, 2014 09:50 AM  

Write test cases for the function f=a+b ?


1 Answers

answered By cipher   0  

In this a and b are two variable that gonna decide the value of f

Check value of f

Case 1 .when a>0 and b>0

Case 2 .When a>0 and b=0

Case 3 .when a=0 and b>0

Case 4 .when a=0 and b=0

Case 5 .when a>0 and b<0

Case 6 .when a=0 and b<0

Case 7 .when a<0 and b=0

Case 8 .when a<0 and b<0

Case 9 .when a<0 and b>0
   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!