More Parser tests and more cases!

This commit is contained in:
Joseph Milazzo 2021-01-23 18:45:14 -06:00
parent a057e3ce1d
commit 9030b8de96
3 changed files with 36 additions and 25 deletions

View file

@ -1,5 +1,4 @@
using System.IO;
using API.IO;
using Xunit;
namespace API.Tests.Services
@ -14,8 +13,8 @@ namespace API.Tests.Services
{
var testDirectory = Path.Join(Directory.GetCurrentDirectory(), "../../../Services/Test Data/ImageProvider");
var expectedBytes = File.ReadAllBytes(Path.Join(testDirectory, expectedOutputFile));
Assert.Equal(expectedBytes, ImageProvider.GetCoverImage(Path.Join(testDirectory, inputFile)));
// TODO: Implement this with ScannerService
//Assert.Equal(expectedBytes, ImageProvider.GetCoverImage(Path.Join(testDirectory, inputFile)));
}
}
}