public void ThenTheResultShouldBeOnTheScreen(string expectedResult) { var keypad = new KeypadUI(FeatureContext.Current.ProcessId()); var currentResult = keypad.GetResult(); Assert.AreEqual(expectedResult, currentResult); }
public static void AfterScenario() { var keypad = new KeypadUI(FeatureContext.Current.ProcessId()); keypad.Press("C"); }
public void WhenIPressEquals() { var keypad = new KeypadUI(FeatureContext.Current.ProcessId()); keypad.EnterDigits("="); }
public void GivenIHaveEnteredIntoTheCalculator(string value) { var keypad = new KeypadUI(FeatureContext.Current.ProcessId()); keypad.EnterDigits(value); }