Question: Black-Box Test The following specification is given: - A whole negative number is to be entered. - If the value is below -25, then the

Black-Box Test

The following specification is given: - A whole negative number is to be entered. - If the value is below -25, then the number is multiplied by 4. - If the value of the number is between -5 and -25 (including the marginal values), then 20 is to be added. - For values above -5, no calculation is made and the number is output unchanged.

a) Give the equivalence classes for the input of the whole number. b) Set up test cases with associated results considering the limit analysis.

Assume that it is only possible to enter integers. Test cases with special characters, commas, etc. therefore do not need to be carried out. Take special care that no unnecessary test cases occur

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!