Afterglow.Math.Test_Vector2.Constructor_Sets_XY C# (CSharp) Method

Constructor_Sets_XY() private method

private Constructor_Sets_XY ( ) : void
return void
        public void Constructor_Sets_XY()
        {
            const float X = 1.0f;
            const float Y = 2.0f;

            var vector2 = new Vector2(X, Y);

            Assert.AreEqual(X, vector2.X);
            Assert.AreEqual(Y, vector2.Y);
        }