public DrawStraightLineAdapter( IDrawStraightLine <ConsolePixelData> coreCommand, ILogger logger, ICanvasConfiguration <ConsolePixelData> canvasConfiguration) : base(coreCommand, logger) { _canvasConfiguration = canvasConfiguration; }
public DrawStraightLineTests() { _subject = new DrawStraightLine <PixelDataStub>(new Mock <ILogger>().Object); _canvasMock.SetupGet(c => c[It.IsAny <int>(), It.IsAny <int>()]) .Returns(_pixelMock.Object); }
public DrawRectangle(IDrawStraightLine <TPixelData> drawStraightLine, ILogger logger) { _drawStraightLine = drawStraightLine; _logger = logger; }