Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Anyone can please inform me about how to write test cases
for any mathematical calculations. Say for example, we have
a formula in a given scenario for calculating the interest.

The given formula for interest is: (principle * 5)/(12 * 100)

In this case, the principle amount may vary. Would like to
know how many test cases can be written for this scenario
and how can we decide over this. I will be very thankful for
the answer....

Answer Posted / akhalesh yadav

Valid test cases
1.value of principle is +ve integer value
2.value of principle is greater than 0

Invalid test cases
1.value of principle is 0
2.value of principle is infinity
3.value of principle is -ve value

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to develop a test plan and a test case.

274


For how many days (or) weeks you will test a product or software?

1135


Write a test case on a durability of an electric bulb and test it that it will last for next 10 months.

1465


How to write test cases for "open file dialog box" for ms word? Thanks a lot!

3069


What is the logic testing?

264






# A large IT company is in the process of revising salary structure for its employees. The salary will be on the basis of assessed performance of the previous year for all employee who have completed six months or more. # The rules for salary revision are provided below :- Performance level 1 : Increase existing salary by 30% Performance level 2 : Increase existing salary by 20% Performance level 3 : Increase existing salary by 10% Performance level 4 : Increase existing salary by 5% Performance level 5 : No Increase # For those who have not completed six months, provide a flat increase of 7.5% in their salary. In addition to above provide a special loyalty allowance of Tk. 800 to all employees who have complete THREE years with the organization. # Compute the minimum number of paths that you would require to cover the application and how many test cases would you require?

1573


I need GUI test case for home page?

2806


I want 100 test scenario for gmail

3451


What are semi-random test cases?

337


Write a test case of login window?

276


Explain the component testing?

298


Explain the sanity testing?

258


If userA send a string through whatsapp but userB is not getting properly the string, Then what may be problem? Can someone write testcase of this. Both whtsapp application is same version and OS is also same android version.

1093


What is quick test professional and what test environment it supports?

251


1.If there are so many test cases to be run suppose (100).How will we run those test cases.(using batch) 2. How will we perform over riding in QTP can any one please give me script. thanks

1779