public void AddAllLikeTermsOnLeftSideTest() { Polynomial p = new Polynomial("2x^2+2x^2+7x+x=0"); p.AddAllLikeTermsOnLeftSide(); Assert.AreEqual("4x^2+8x=0", p.AsString); }