Testing multiplying 10.10 x 10.10. Which I should get 102.01 but instead got this error message. What should do to past this test?
Error message: Message: Assert.AreEqual failed. Expected:<102.01>. Actual:<102.01>.
public double Multiply(double number1, double number2)
{
return number1 * number2;
}
[TestMethod]
public void TestMutliplyTwoDiffPostitionNumber()
{
Calculator obj = new Calculator();
var result = obj.Mutliply(10.10, 10.10);
Assert.AreEqual(102.01, result);
}