Question: In Java Please prepare two testlet classes to test the two classes Rectangle and Box, respectively. The Rectangle class has a method int getArea(int w,
In Java
Please prepare two testlet classes to test the two classes Rectangle and Box, respectively. The Rectangle class has a method int getArea(int w, int h), while the Box class has a method double getVolume(double l, double w, double h). Assume all input variables should range between 1 and 10. Perform boundary value analysis for the two classes through the two testlets.
All the testlet classes implement an interface called TestletIF which defines a runTest method. Feel free to specify the argument for the method.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
