MathExtensionsTests Sin Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void Sin()
Examples

[Test]
public void Sin()
{
    Assert.AreEqual(0, MathExtensions.Sin(0));
    Assert.AreEqual(1, MathExtensions.Sin(90));
    Assert.AreEqual(0, MathExtensions.Sin(180), Precision);
    Assert.AreEqual(0, MathExtensions.Sin(360), Precision);
    Assert.AreNotEqual(0, MathExtensions.Sin(32));
}
See Also