public void ChangeMinAddCount() { driver.Navigate().GoToUrl(URL); Polynom polynom = new Polynom(driver); polynom.MinAddCountClick(); Assert.That(polynom.IsSelectedMinAddCount, Is.True); }
public void ExamlePolynomByMinAddCount(string title, string polynomRes) { driver.Navigate().GoToUrl(URL); Polynom polynom = new Polynom(driver); polynom.SetExampleFunction(); polynom.MinAddCountClick(); polynom.FindPolynomClick(); Assert.That(polynom.TitleResValue(), Is.EqualTo(title)); Assert.That(polynom.PolynomResValue, Is.EqualTo(polynomRes)); }