/// <summary> /// Processes number's click /// </summary> private void Number_Click(object sender, EventArgs e) { calculator.Number((string)((Button)sender).Tag); }
public void NumberTest() { calculator.Number("2"); Assert.AreEqual("2", calculator.Input); Assert.AreEqual("", calculator.WholeInput); }