After reviewing, this needs some major work to finish it off.

This commit is contained in:
Joseph Milazzo 2025-05-04 11:53:42 -05:00
parent bad5c9dcd6
commit 29167f281e
4 changed files with 40 additions and 14 deletions

View file

@ -34,10 +34,10 @@ public class MagazineParserTests
Assert.Equal(expected, API.Services.Tasks.Scanner.Parser.Parser.ParseMagazineChapter(filename));
}
// [Theory]
// [InlineData("AIR International Vol. 14 No. 3 (ISSN 1011-3250)", "1011-3250")]
// public void ParseGTINTest(string filename, string expected)
// {
// Assert.Equal(expected, API.Services.Tasks.Scanner.Parser.Parser.ParseGTIN(filename));
// }
[Theory]
[InlineData("AIR International Vol. 14 No. 3 (ISSN 1011-3250)", "1011-3250")]
public void ParseGTINTest(string filename, string expected)
{
Assert.Equal(expected, API.Services.Tasks.Scanner.Parser.Parser.ParseGTIN(filename));
}
}