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

TestStaticFn_Dot_iv() private method

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

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

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