Added more regex cases for naming patterns reported to be common with comics. Some cases added without regex.

This commit is contained in:
Joseph Milazzo 2021-10-04 18:47:57 -05:00
parent f5594eade4
commit d07372b911
2 changed files with 16 additions and 0 deletions

View file

@ -49,6 +49,7 @@ namespace API.Tests.Parser
[InlineData("Chew Script Book (2011) (digital-Empire) SP04", "Chew Script Book")]
[InlineData("Batman - Detective Comics - Rebirth Deluxe Edition Book 02 (2018) (digital) (Son of Ultron-Empire)", "Batman - Detective Comics - Rebirth Deluxe Edition Book")]
[InlineData("Cyberpunk 2077 - Your Voice 01", "Cyberpunk 2077")]
[InlineData("Cyberpunk 2077 #01", "Cyberpunk 2077")]
[InlineData("Batgirl Vol.2000 #57 (December, 2004)", "Batgirl")]
[InlineData("Batgirl V2000 #57", "Batgirl")]
public void ParseComicSeriesTest(string filename, string expected)