public void TestSin() { decimal num = 1.745M; decimal expectedResult = 0.98480775301M; decimal result = Calculator.Sin(num); Assert.AreEqual(Convert.ToDouble(expectedResult), Convert.ToDouble(result), 0.0001); }
public void TestSin() { decimal num = 1.745M; decimal expectedResult = 0.98480775301M; decimal result = Calculator.Sin(num); Assert.AreEqual(Convert.ToDouble(expectedResult), Convert.ToDouble(result), 0.0001); }