After reviewing, this needs some major work to finish it off.
This commit is contained in:
parent
bad5c9dcd6
commit
29167f281e
4 changed files with 40 additions and 14 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue