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

TestStaticFn_Dot_iv() private method

private TestStaticFn_Dot_iv ( ) : void
return void
        public void TestStaticFn_Dot_iv ()
        {
            Vector2 a = new Vector2(1, 0);
            Vector2 b = new Vector2(0, 1);

            Double expected = 0;
            Double result; Vector2.Dot(ref a, ref b, out result);

            Assert.That(result, Is.EqualTo(expected));
        }
Vector2Tests