Abacus.DoublePrecision.Vector2Tests.TestStaticFn_Dot_iv C# (CSharp) 메소드

TestStaticFn_Dot_iv() 개인적인 메소드

private TestStaticFn_Dot_iv ( ) : void
리턴 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