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);
        }
Exemplo n.º 2
0
 public void PathAppendedAt(Point point)
 {
     _drawModel.AppendPath(point);
     _drawingLine.UpdateView(_drawModel.Paths);
 }
Exemplo n.º 3
0
 public void PathAppendedAt(Point point)
 {
     _drawModel.AppendPath(point);
     _paintView.UpdateView(_drawModel.Paths);
 }