Question: Assignment I: Identifying Test cases using Boundary value analysis and Equivalence partitioning Objective: To identify and document test cases for a given functionality, using Boundary
Assignment I: Identifying Test cases using Boundary value analysis and Equivalence partitioning Objective: To identify and document test cases for a given functionality, using Boundary value Analysis and Equivalence partitioning technique. Q1. Problem Description: Consider the function below whose functionality is described in its documentation. *Method: computeInterestRate Description: Given the term of the deposit, computes and returns *the interest rate. Both the parameters iNumberOfYears and iNumberOfMonths together form the term Criteria for Interest: Less than 3 months 1% 3 months to 5 months 3.5% 6 months to 11 months 4.5% 1 year to 1 year, 11 months 5.0% 2 years and above 5.5% * PARAMETERS: int iNumberOfYears Number of years int iNumberOfMonths Number of months (if less than year) Can have values 1-11 only RETURNS: A case of error eeseteste ste e te steeste e see ste e eee seee e le le te tete ste ste ste sle e te ste te ste te sle ppropriate Rate of Interest.-1.0 in float computeInterestRate (int iNumberOfYears, int iNumberOfMonths)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
