예제 #1
0
        public void addTest(string expr, string add, string expected)
        {
            DataCollector DC = new DataCollector();

            DC.SetExpr(expr);

            DC.ChangeState();

            DC.AddStringExpression(add);

            Assert.Equal(expected, DC.GetExpr());
        }
예제 #2
0
 private void Btn7_Click(object sender, EventArgs e)
 {
     data.AddStringExpression(Btn7.GetNumber().ToString());
     ChangeText();
 }