private void NumBtn(object sender, RoutedEventArgs e)
        {
            Button B = sender as Button;

            cs.EntryAddNum(B.Content.ToString());
            UpdateNumberField();
        }
예제 #2
0
        public void EntryAddNumTest()
        {
            CStack cs = new CStack();

            cs.EntryAddNum("5");
            Assert.AreEqual(cs.entry, "5");
        }