Ejemplo n.º 1
0
        public void TestMethodSin()
        {
            FullComplexNumber fcn = new FullComplexNumber(3, 4);

            Assert.AreEqual(0.8, fcn.getSin());
        }
Ejemplo n.º 2
0
        public void TestMethodCos()
        {
            FullComplexNumber fcn = new FullComplexNumber(3, 4);

            Assert.AreEqual(0.6, fcn.getCos());
        }
Ejemplo n.º 3
0
        public void TestMethodModule()
        {
            FullComplexNumber fcn = new FullComplexNumber(3, 4);

            Assert.AreEqual(5d, fcn.getR());
        }