Ejemplo n.º 1
0
        public void voidShouldChangeSignumOfCoefficient()
        {
            var coefficient = 1;
            var variable = new Variable("x");

            var target = new Expression(coefficient, variable);
            target.ChangeSignum();

            Assert.AreEqual(-1, target.Coefficient);
        }