public void Polynom_Clone() { var array = new double[] { 1, 0, 2, 4, 5 }; var first = new CustomPolynom(array); var second = (CustomPolynom)first.Clone(); Assert.IsTrue(first.Equals(second)); }
public void Polynom_EqualsOtherFirst() { var array = new double[] {1, 0, 2, 4, 5}; var first = new CustomPolynom(array); var second = new CustomPolynom(array); Assert.IsTrue(first.Equals(second)); }