private void NumBtn(object sender, RoutedEventArgs e) { Button B = sender as Button; cs.EntryAddNum(B.Content.ToString()); UpdateNumberField(); }
public void EntryAddNumTest() { CStack cs = new CStack(); cs.EntryAddNum("5"); Assert.AreEqual(cs.entry, "5"); }