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