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