public void Divide(int expectedResult, params int[] values) { var calcPage = new StandardCalculatorPage(_driver); calcPage.Divide(values); calcPage.AssertResult(expectedResult); }
public void Return8_When_Sum4And4() { var calcPage = new StandardCalculatorPage(_driver); calcPage.Sum(4, 4); calcPage.AssertResult(8); }
public void Return8_When_Sum2And2And4() { // Arrange var calcPage = new StandardCalculatorPage(_driver); // Act calcPage.Sum(2, 2, 4); // Assert calcPage.AssertResult(8); }