public void Sin_ErrorForm_ValidCases(double point, double error)
        {
            // Arrange
            var expected = Math.Sin(point);

            // Act
            var actual = Maclaurin.Sin(point, error);

            // Assert
            Assert.IsTrue(Math.Abs(expected - actual) < error);
        }
 public void Sin_TermsForm_InvalidCase() =>
 Assert.Throws <ArgumentOutOfRangeException>(() => Maclaurin.Sin(0, -1));
 public void Sin_ErrorForm_InvalidCases(double error) =>
 Assert.Throws <ArgumentException>(() => Maclaurin.Sin(0.0, error));