Question: 3. Consider the following code snippet and answer the following questions: public enum Quadrilateral {SQUARE, RECTANGLE, KITE, IRREGULAR, INVALID}; public static Quadrilateral quadril(int sidel,
3. Consider the following code snippet and answer the following questions: public enum Quadrilateral {SQUARE, RECTANGLE, KITE, IRREGULAR, INVALID}; public static Quadrilateral quadril(int sidel, int side2, int side3, int side4) { // Sidel, Side2, Side3, and Side4 represent the lengths of the sides of a quadrilateral // Returns the appropriate enum value a. Provide partition characteristic(s) and the blocks from it. [2 point] b. Using the blocks and using base choice criteria, what are necessary test case values? [2 points] c. From the prior two steps, create the necessary JUnit unit tests. [3 points]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
