public void DrawModel_Test_Clear()
        {
            int expected = 0;

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

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
 private void BtnClear_Click(object sender, System.EventArgs e)
 {
     _drawModel.Clear();
     _drawingLine.UpdateView(_drawModel.Paths);
 }
예제 #3
0
 private void BtnClearTouchUpInside(object sender, EventArgs e)
 {
     _drawModel.Clear();
     _paintView.UpdateView(_drawModel.Paths);
 }