Question: please look at this This question concerns unit testing. Note: for the purpose of this assessment, you must pick the name of each production code

 please look at this This question concerns unit testing. Note: for

please look at this

This question concerns unit testing. Note: for the purpose of this assessment, you must pick the name of each production code method/function, and the name of the file in which it occurs. (a) Develop a test design for the following, based on equivalence partitioning: [5 marks) A function/method taking two parameters: a string s, and an integer n . It extracts the nth character from s and returns an upper-case version of it, or empty string if there is no such character. The returned character must not be lower-case, only upper-case with the exception of symbols. (b) Develop a test design for the following, based on boundary value analysis: [5 marks] A function/method taking one parameter: a real (floating-point) number r. It considers a set of five other real numbers, which we'll call ai, az, a3, 04 and a5, and it finds the largest one that is less than or equal to r. It subtracts this number from r and returns the result. For the purposes of this assessment, you must pick these five numbers yourself. You can pick whichever ones you want, as long as they are all different

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To tackle this question well create test designs based on equivalence partitioning and boundary valu... View full answer

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 Databases Questions!