Abacus.DoublePrecision.Vector3Tests.TestStaticFn_TransformNormal_ii C# (CSharp) Method

TestStaticFn_TransformNormal_ii() private method

private TestStaticFn_TransformNormal_ii ( ) : void
return void
        public void TestStaticFn_TransformNormal_ii ()
        {
            Matrix44 rotmat = Matrix44.Identity;
            var tests = new Vector3[]
            {
                new Vector3 (21, -532, 0),
                new Vector3 (21, +532, 243),
                new Vector3 (1, -1, 3),
                new Vector3 (-2435, -2, 25342),
            };

            for (Int32 i = 0; i < tests.Length; ++i)
            {
                var test = tests [i];
                Vector3 normal = test;
                Vector3 result;
                Assert.Throws(
                    typeof(ArgumentOutOfRangeException),
                    () =>
                    Vector3.TransformNormal(ref normal, ref rotmat, out result)
                );
            }
        }
Vector3Tests