public void DrawModel_Test_Back()
        {
            int expected = 1;

            drawModel.Back();
            int actual = drawModel.Paths.Count;

            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
 private void BtnUndo_Click(object sender, System.EventArgs e)
 {
     _drawModel.Back();
     _drawingLine.UpdateView(_drawModel.Paths);
 }
Exemple #3
0
 private void BtnBackTouchUpInside(object sender, EventArgs e)
 {
     _drawModel.Back();
     _paintView.UpdateView(_drawModel.Paths);
 }