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

            Assert.AreEqual(resulr.real, 7);
            Assert.AreEqual(resulr.imaginary, 3);
        }