public async Task CalculateRadiansAt315Degrees() { var result = (float)System.Math.Round(TrigHelper.Radians(315), 6); var expected = (float)System.Math.Round(System.Math.PI * 1.75, 6); Assert.AreEqual(expected, result); }
public async Task CalculateRadiansAt720Degrees() { var result = (float)System.Math.Round(TrigHelper.Radians(720), 6); var expected = 0; Assert.AreEqual(expected, result); }
public async Task CalculateRadiansAt0Degrees() { var result = TrigHelper.Radians(0); Assert.AreEqual(0, result); }