public void TrueEqualsTest2()
 {
     Polynom p = new Polynom(1, 2, 3);
     Polynom a = new Polynom(1, 2, 3);
     bool x = a.Equals(p);
     Assert.AreEqual(true, x);
 }
 public string MinusOperatorTest(double[] a, double[] b)
 {
     Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
     Polynom x = new Polynom(a);
     Polynom y = new Polynom(b);
     return (x - y).ToString();
 }
 public bool GetHashCodeTest(double[] x, double[] y)
 {
     Polynom p = new Polynom(x);
     Polynom a = new Polynom(y);
     return (a.GetHashCode()).Equals(p.GetHashCode());
 }
 public bool FalseEqualsTest(double[] x,double[] y)
 {
     Polynom p = new Polynom(x);
     Polynom a = new Polynom(y);
     return a.Equals(p);
 }
 public void ExceptionTest()
 {
     
     Polynom b = new Polynom(null);
 }
 public string ToStringTest(double[] pol)
 {
     Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
     Polynom polynom = new Polynom(pol);
     return polynom.ToString();
 }