Ejemplo n.º 1
0
            public void NegativeMonomial()
            {
                var firstDegreeMonomial = new Polynomials.DecimalMonomial(-11, 3);
                var expecting           = "- 11x2";

                expecting.ShouldBeEquivalentTo(firstDegreeMonomial.ToString());
            }
Ejemplo n.º 2
0
            public void NonFirstDegreeMonomial()
            {
                var firstDegreeMonomial = new Polynomials.DecimalMonomial(87, 5);
                var expecting           = "+ 87x4";

                expecting.ShouldBeEquivalentTo(firstDegreeMonomial.ToString());
            }