public void SimpleTest(double firstarg, double expected) { Cos calc = new Cos(); double result = calc.Calc(firstarg); Assert.AreEqual(expected, result, 0.00000001); }