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