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

  1. Make project named BasicMath.
  2. Add a class named BasicMath that includes four methods:
  • add
  • subtract
  • divide
  • multiply
  1. Ensure that each method takes two double arguments and returns the corresponding operation result.
  2. Make another project and relate it to the first project.
  3. Write test cases that test all four methods to ensure they work as expected.
  4. The expected test run should appear as follows:
  5. Test Basic MathTest (5) Basic MathTest (5) Tests (5) Test_AddMethod Test_DivideMet... Test_MultiplyM... 

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!