示例#1
0
        public void TestDivide()
        {
            var test1  = new TComplex(3, 4);
            var test2  = new TComplex(4, -1);
            var resulr = test1.Divide(test2);

            Assert.AreEqual(resulr.real, 0.470588, 5);
            Assert.AreEqual(resulr.imaginary, 1.117647, 5);
        }