16. (20pt) You've volunteered to write a test harness to support your colleagues writing a math function. They ha given
Posted: Sat May 14, 2022 7:12 pm
16. (20pt) You've volunteered to write a test harness to support your colleagues writing a math function. They ha given you a stub of their code, and the mathematical function that should be followed. Be sure to select and des test cases to verify the function operates exactly as required. (CL0-2) public class Step { public static int function(int num) { f(x) = -*, *<0 // TODO calculate and return f(x) (Z is the set of all integers) } 2x, *20*EZ public class TestHarness { public static void main(String[] args) {