Refactored archive code into a service so that I can write tests for it.

This commit is contained in:
Joseph Milazzo 2021-01-26 09:55:15 -06:00
parent 07fd959b22
commit 6b76c8b211
22 changed files with 146 additions and 49 deletions

View file

@ -109,6 +109,7 @@ namespace API.Tests
[InlineData("Yumekui-Merry_DKThias_Chapter21.zip", "21")]
[InlineData("Yumekui_Merry_v01_c01[Bakayarou-Kuu].rar", "1")]
[InlineData("Yumekui-Merry_DKThias_Chapter11v2.zip", "11")]
[InlineData("Beelzebub_53[KSH].zip", "53")]
//[InlineData("[Tempus Edax Rerum] Epigraph of the Closed Curve - Chapter 6.zip", "6")]
public void ParseChaptersTest(string filename, string expected)
{