public void MonoDithering_NullRefBitmapIsNotAccepted() { // given MonoDithering converter = new Bayer8x8MonoDithering(); // when var bmpDithered = converter.Dither(null); // then Assert.Fail("Exception was not thrown."); }
public void MonoDithering_Bayer8x8_RunsForLessThan500ms() { // given MonoDithering converter = new Bayer8x8MonoDithering(); // when using (var bmpDithered = converter.Dither(testColorBitmap)) { // Nop } // then // Timeout? }