コード例 #1
0
        public void AreaIsCalculatedCorrectly7()
        {
            var p = new DragProperties(0.25, 0.41, 10, 100);

            Assert.AreEqual(55, p.GetArea(Angle.FromDegrees(315)), 0.001);
        }
コード例 #2
0
        public void AreaIsCalculatedCorrectly4()
        {
            var p = new DragProperties(0.25, 0.41, 10, 100);

            Assert.AreEqual(100, p.GetArea(Angle.FromDegrees(270)));
        }