public void NegativeMonomial() { var firstDegreeMonomial = new Polynomials.DecimalMonomial(-11, 3); var expecting = "- 11x2"; expecting.ShouldBeEquivalentTo(firstDegreeMonomial.ToString()); }
public void NonFirstDegreeMonomial() { var firstDegreeMonomial = new Polynomials.DecimalMonomial(87, 5); var expecting = "+ 87x4"; expecting.ShouldBeEquivalentTo(firstDegreeMonomial.ToString()); }