Question: The options are: 1. Test returns no user with name 2. Test invalid parameters 3. Test method that doesn't modify array 4. Test the size



The options are:
1. Test returns no user with name
2. Test invalid parameters
3. Test method that doesn't modify array
4. Test the size of array
5. Test returns correct paycheck
These options can be picked more than once (obviously) because there's more holes to fill
I/ assertEquals(1, single.length, "Check length of first dimension"); assertEquals(2, single[0].length, "Check length of second dimension"); /I assertEquals( "CarolCole10.0019.00190.00 RobustPaycheckstorage.getPaycheck(single, "Carol Cole"), "Check that correct paycheck returned for single paycheck"); /1 String [][] singleCopy ={{ "Carol Cole", "Carol Cole 10.0019.00190.00 + "0.00 190.000.00190.00 "}}; assertArrayEquals(singleCopy, single, "Check that array not modified"); // assertEquals( "No such user.", RobustPaycheckStorage.getPaycheck(single, "Carol"), "Check that message for no user."); assertArrayEquals(singleCopy, single, "Check that array not modified"); / // assertEquals(2, multiple.length, "Check length of first dimension"); assertEquals(2, multiple[0].length, "Check length of second dimension") Check
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
