public void AsciiConverterTest(Color color, string expected) { var imageConverter = new Ascii(1); var imageProvider = new MockImageProvider( color ); var fileConverter = new FileConverter( imageConverter, imageProvider ); var result = fileConverter.ConvertFile( "dummy.png" ); Assert.That( result, Is.EqualTo( expected + "\r\n" ) ); }
public void FixtureSetUp() { _ascii = new Ascii(8); }