public async Task SetInitialSize() { DefaultDeviceProperties = new PlotDeviceProperties(600, 600, 96); var code = @" plot(0:10) "; var inputs = Batch(code); var actualPlotFilePaths = await GraphicsTestAsync(inputs); var plotFilePath = actualPlotFilePaths.Should().ContainSingle().Which; var bmp = (Bitmap)Image.FromFile(plotFilePath); bmp.Width.Should().Be(600); bmp.Height.Should().Be(600); }