Vector2DTests Create Method Delta Engine Documentation

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

public void Create()
Examples

[Test]
public void Create()
{
    const float X = 3.51f;
    const float Y = 0.23f;
    var v = new Vector2D(X, Y);
    Assert.AreEqual(v.X, X);
    Assert.AreEqual(v.Y, Y);
}
See Also