public void DrawModel_Test_Back() { int expected = 1; drawModel.Back(); int actual = drawModel.Paths.Count; Assert.AreEqual(expected, actual); }
private void BtnUndo_Click(object sender, System.EventArgs e) { _drawModel.Back(); _drawingLine.UpdateView(_drawModel.Paths); }
private void BtnBackTouchUpInside(object sender, EventArgs e) { _drawModel.Back(); _paintView.UpdateView(_drawModel.Paths); }