Unit Testing/xUnit.net/Create a Simple Test

Create a C# Program
Create the following C# program. Save it as

Create a Test Program
Create the following C# test program. Save it as

Test Success
Test the program by running the following command in a terminal or command prompt in the same folder as the project above and observe the results. dotnet test

Test Failure
Change the multiply source code somehow, such as multiplying by 0 rather than multiplying by y. Test the program by running the test again and observe the results.