Answered step by step
Verified Expert Solution
Question
1 Approved Answer
uur co-worker has implemented the skeleton of an application with all supporting unit tests. However, your co-work as been re-assigned to a different team and
uur co-worker has implemented the skeleton of an application with all supporting unit tests. However, your co-work as been re-assigned to a different team and you are now required to implement the application. Your co-worker insis iat all unit tests are developed exactly as they should be and the only thing you should need to do is get all of the unit ests to pass. Your objective is to ensure that all defined unit tests pass. No changes to the unit tests or form are ermitted. The only two classes that require completion are 'ArrayFunctions.cs' and 'MathFunctions.cs'. Skills Used: reinforce CA fundamentals, file handling, unit tests, arrays, using existing classes User Experience: 1. At Startup, the user may utilize the mathematical functions or array manipulation functions 2. If a user selects the mathematical functions, he or she may: a. Add two numbers b. Subtract two numbers c. Multiply two numbers d. Divide two numbers e. Calculate the modulus of two numbers f. Calculate raising a number to a power g. Display 'Error' when an invalid calculation is performed 3. If a user selects the array functions, he or she may: a. Store the current state of the 5 data values to a persistent file b. Load the state of the 5 data values from a persistent file c. Randomize the results on the screen d. Shift the displayed items to the right with the right-most item becoming the first item e. Shift the displayed items to the left with the left-most item becoming the last item f. Reverse the order of the items displayed 4. No input validation is performed on the input boxes, so a user could enter any textual entry. This is accounted for in the unit tests present in the project files. Project instructions
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started