public void AppendPath_Test()
        {
            drawModel.AppendPath(new Point(0, 0));
            int actual = drawModel.Paths[drawModel.Paths.Count - 1].Points.Count;

            int expected = 3;

            Assert.AreEqual(expected, actual);
        }
Example #2
0
 public void PathAppendedAt(Point point)
 {
     _drawModel.AppendPath(point);
     _drawingLine.UpdateView(_drawModel.Paths);
 }
Example #3
0
 public void PathAppendedAt(Point point)
 {
     _drawModel.AppendPath(point);
     _paintView.UpdateView(_drawModel.Paths);
 }