public void ContentWithZeros() { var p = new PolyI(2, 0, 4, 0, 2); var n = p.Content(); Assert.AreEqual(2, n); }
public void ContentMixed() { var p = new PolyI(3, -9, 6); var n = p.Content(); Assert.AreEqual(3, n); }
public void ContentAllNegative() { var p = new PolyI(-3, -6, -6); var n = p.Content(); Assert.AreEqual(-3, n); }
public void ContentAllPositive() { var p = new PolyI(3, 9, 6); var n = p.Content(); Assert.AreEqual(3, n); }