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

TestStaticFn_Normalise_i() private method

private TestStaticFn_Normalise_i ( ) : void
return void
        public void TestStaticFn_Normalise_i()
        {
            {
                Vector3 a = Vector3.Zero;

                Vector3 b;

                Assert.Throws(
                    typeof(ArgumentOutOfRangeException),
                    () =>
                    Vector3.Normalise(ref a, out b)
                );
            }

            {
                Vector3 a = new Vector3(
                    Double.MaxValue,
                    Double.MaxValue,
                    Double.MaxValue);

                Vector3 b;

                Assert.Throws(
                    typeof(ArgumentOutOfRangeException),
                    () =>
                    Vector3.Normalise(ref a, out b)
                );
            }
        }
Vector3Tests