Abacus.SinglePrecision.Vector4Tests.TestOperator_Addition_iv C# (CSharp) 메소드

TestOperator_Addition_iv() 개인적인 메소드

private TestOperator_Addition_iv ( ) : void
리턴 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