Ejemplo n.º 1
0
 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" ) );
 }
Ejemplo n.º 2
0
 public void FixtureSetUp()
 {
     _ascii = new Ascii(8);
 }