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

TestStaticFn_Normalise_i() private method

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

                Vector2 b;

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

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

                Vector2 b;

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