public void IsDirectPrintingSupported_ImageNotSupported_ReturnsExpected() { using (var bitmap = new Bitmap(10, 10)) { var printerSettings = new PrinterSettings(); Assert.Equal(false, printerSettings.IsDirectPrintingSupported(bitmap)); } }
public void IsDirectPrintingSupported_ImageFormatNotSupported_ReturnsExpected(ImageFormat imageFormat) { var printerSettings = new PrinterSettings(); Assert.Equal(false, printerSettings.IsDirectPrintingSupported(imageFormat)); }
public void IsDirectPrintingSupported_ImageFormatSupported_ReturnsExpected(ImageFormat imageFormat) { var printerSettings = new PrinterSettings(); bool supported = printerSettings.IsDirectPrintingSupported(imageFormat); }