示例#1
0
        public void CreateVector()
        {
            Vector v = VectorUtil.CreateVector(8, Math.PI * 3 / 4);

            Assert.AreEqual(8, v.Length);
            Assert.AreEqual(Math.PI * 3 / 4, v.Angle);
        }