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()); }
private void Btn7_Click(object sender, EventArgs e) { data.AddStringExpression(Btn7.GetNumber().ToString()); ChangeText(); }