public void ClickOnThBackspaceButtonTest() { calculator.AddNumber("1"); Assert.AreEqual("1", calculator.CurrentEntry); calculator.Backspace(); Assert.AreEqual("", calculator.CurrentEntry); }
/// <summary> /// Click backspace button. /// </summary> private void buttonBackspace_Click(object sender, EventArgs e) => calculator.Backspace();