public void DegToRad_Test() { foreach (double i in inputDouble) { double expected = i / 180.0 * System.Math.PI; double actual = GeneralMath.DegToRad(i); Assert.AreEqual(expected, actual); } }