示例#1
0
        public void GetDegree2()
        {
            TComplex testClass = new TComplex(0, -3);
            double   answer    = -90;

            Assert.AreEqual(answer, testClass.GetDegree(), 4);
        }
示例#2
0
        public void GetDegree1()
        {
            TComplex testClass = new TComplex(3, 4);
            double   answer    = 53.1301;

            Assert.AreEqual(answer, testClass.GetDegree(), 4);
        }