public void Add() { //Arrange var num1a = 22.1115m; var num1b = 0.0005m; var expectedResponse1 = 22.112m; var num2a = 14.0208m; var num2b = 2.2113m; var expectedResponse2 = 16.2321m; var num3a = 51.2369m; var num3b = 11.6528m; var expectedResponse3 = 62.8897m; var num4a = 21.6325m; var num4b = -25.1985m; var expectedResponse4 = -3.566m; //Act var response1 = Math.Round(MathFunctions.AddNumbers(num1a, num1b), 4); var response2 = Math.Round(MathFunctions.AddNumbers(num2a, num2b), 4); var response3 = Math.Round(MathFunctions.AddNumbers(num3a, num3b), 4); var response4 = Math.Round(MathFunctions.AddNumbers(num4a, num4b), 4); //Assert Assert.AreEqual(expectedResponse1, response1); Assert.AreEqual(expectedResponse2, response2); Assert.AreEqual(expectedResponse3, response3); Assert.AreEqual(expectedResponse4, response4); }