Question: 4. JUnit / Input partitionin g Black box testing [32 points] In the EEE dropbox for Homework 2 (in INF115-HW-10-31j/CourseFiles) is a Java Jar file
![4. JUnit / Input partitionin g Black box testing [32 points]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f331c0d22b5_01566f331bf2aa42.jpg)


4. JUnit / Input partitionin g Black box testing [32 points] In the EEE dropbox for Homework 2 (in "INF115-HW-10-31j/CourseFiles") is a Java Jar file called TriangleType.jar. Download this file to your computer. This jar file contains a class called TriangleType, which contains a public static method called triangleType(). This method takes three integers as input and outputs an integer. The three input variables each describe the lengths of each side of a triangle. The lengths of the sides of the triangle should be less than or equal to 1000. The output of this method will be one of 5 possible values: 1 for a scalene triangle, 2 for an isosceles triangle, 3 for an equilateral triangle, 4 for values that do not describe a triangle, and 5 for values that are out of bounds. Using Eclipse, create a new project. Under the Build Properties for the project, add the jar file as an external library. Create a new "JUnit Test Case." The new JUnit Test Case Class should be named TriangleTypeTest. The "Class Under Test" is TriangleType. Use JUnit4 (or JUnit5). You will be creating test cases for the method TriangleType.triangleType). 4a. [8 points] Describe, in English, how you would partition the input space for this program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
