コード例 #1
0
        public void TestRoot()
        {
            var test1  = new TComplex(3, 4);
            var resulr = test1.Sqrt(3, 4);

            Assert.AreEqual(resulr.real, 2.567133, 5);
            Assert.AreEqual(resulr.imaginary, 2.142468, 5);
        }