Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose you are asked to test the square root function ( double sqrt ( double a ) ) in Java Math library. You do not
Suppose you are asked to test the square root function double sqrtdouble a in Java
Math library. You do not have the source code for the function however the specifications
of the function are available. The specifications of the function as follows:
The function has one input parameter, a double value.
The function returns the correctly rounded positive square root of a double value.
If the argument is NaN or less than zero, then the result is NaN
If the argument is positive infinity, then the result is positive infinity.
If the argument is zero, then the result is the same as the argument.
NaN is a numeric data type value which stands for not a numbereg Double.NaN
Explain why performing exhaustive testing testing with all possible inputs on this
method might not be considered efficient testing and propose an efficient testing
strategy.
Explain how the proposed testing strategy is performed and list the minimum amount
of test inputs required to perform it
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started