Пример #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" ) );
 }
Пример #2
0
 public void FixtureSetUp()
 {
     _ascii = new Ascii(8);
 }