示例#1
0
        public void MarkOutlinesTest()
        {
            _model.PressPointer(ShapeType.Rectangle, 1, 1);
            _model.ReleasePointer(2, 2);
            _model.PressPointer(ShapeType.Rectangle, 1.5, 1.5);
            IGraphics mockGraphics = new MockGraphics();

            _model.Draw(mockGraphics);
        }
示例#2
0
        public void DrawTest()
        {
            _model.SetModelState(StateType.Drawing);
            _model.PressPointer(ShapeType.Line, 1, 1);
            _model.ReleasePointer(1, 2);
            _model.PressPointer(ShapeType.SixSide, 1, 1);
            IGraphics mockGraphics = new MockGraphics();

            _model.Draw(mockGraphics);
        }