Question: Use C# Please Instructions Make project named BasicMath . Add a class named BasicMath that includes four methods: add subtract divide multiply Ensure that
Use C# Please
Instructions
- Make project named BasicMath.
- Add a class named BasicMath that includes four methods:
- add
- subtract
- divide
- multiply
- Ensure that each method takes two double arguments and returns the corresponding operation result.
- Make another project and relate it to the first project.
- Write test cases that test all four methods to ensure they work as expected.
- The expected test run should appear as follows:
Test Basic MathTest (5) Basic MathTest (5) Tests (5) Test_AddMethod Test_DivideMet... Test_MultiplyM... Test_Substract... Test1 Duration Traits 40 ms 40 ms 40 ms 14 ms < 1 ms < 1 ms < 1 ms 26 ms
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
