public void DeleteTest() { var test = new Polinom(new List <Tuple <double, int> > { new Tuple <double, int> (5, 4), new Tuple <double, int> (5, 3), new Tuple <double, int> (1, 2), new Tuple <double, int> (-11, 0) }); test.Delete(4); var test2 = new Polinom(new List <Tuple <double, int> > { new Tuple <double, int> (5, 3), new Tuple <double, int> (1, 2), new Tuple <double, int> (-11, 0) }); Assert.AreEqual(true, test.ToString() == test2.ToString()); }