In this post we will develop a simple calculator able to add, subtract, multiply and divide.
The code will be implemented in C# using Visual Studio 2022.
Once we have the main code operational, we will add xUnit and will test using Moq4.
Let’s start by showing some output from our simple calculator. Continue reading “Calculator in C#”
I will provide additional details on this question towards the end of this blog entry. That said; write a piece of code that would perform the following task:
Using a counter from 0 to 50 print the word “Apple” when the counter is divisible by 3. Print the word “Pie” when the counter is divisible by 7. Print the words “Apple Pie” when the counter is divisible by 3 and 7. Continue reading “Unit Testing”