Abacus.SinglePrecision.Vector4Tests.TestOperator_Addition_iv C# (CSharp) Method

TestOperator_Addition_iv() private method

private TestOperator_Addition_iv ( ) : void
return void
        public void TestOperator_Addition_iv ()
        {
            for(Int32 i = 0; i < 100; ++i)
            {
                var a = GetNextRandomVector4();
                var b = GetNextRandomVector4();

                var expected = new Vector4(
                    a.X + b.X, a.Y + b.Y, a.Z + b.Z, a.W + b.W);

                this.TestAddition(a, b, expected);
            }
        }
Vector4Tests