mirror of
https://github.com/Radarr/Radarr
synced 2025-02-27 08:33:21 +00:00
Absolute tests
This commit is contained in:
parent
17ba245f77
commit
3b54f90237
2 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,8 @@ public class AbsoluteEpisodeNumberParserFixture : CoreTest
|
|||
[TestCase("[FFF] Seikoku no Dragonar - 01 [1FB538B5].mkv", "Seikoku no Dragonar", 1, 0, 0)]
|
||||
[TestCase("[Hatsuyuki]Fate_Zero-01[1280x720][122E6EF8]", "Fate/Zero", 1, 0, 0)]
|
||||
[TestCase("[CBM]_Monster_-_11_-_511_Kinderheim_[6C70C4E4].mkv", "Monster", 11, 0, 0)]
|
||||
[TestCase("[HorribleSubs] Log Horizon 2 - 05 [720p].mkv", "Log Horizon 2", 5, 0, 0)]
|
||||
[TestCase("[Commie] Log Horizon 2 - 05 [FCE4D070].mkv", "Log Horizon 2", 5, 0, 0)]
|
||||
public void should_parse_absolute_numbers(string postTitle, string title, int absoluteEpisodeNumber, int seasonNumber, int episodeNumber)
|
||||
{
|
||||
var result = Parser.Parser.ParseTitle(postTitle);
|
||||
|
|
|
@ -21,6 +21,7 @@ public class ParserFixture : CoreTest
|
|||
* The.Man.of.Steel.1994-05.33.hybrid.DreamGirl-Novus-HD
|
||||
* Superman.-.The.Man.of.Steel.1994-06.34.hybrid.DreamGirl-Novus-HD
|
||||
* Superman.-.The.Man.of.Steel.1994-05.33.hybrid.DreamGirl-Novus-HD
|
||||
* Constantine S1-E1-WEB-DL-1080p-NZBgeek
|
||||
*/
|
||||
|
||||
[TestCase("Chuck - 4x05 - Title", "Chuck")]
|
||||
|
|
Loading…
Reference in a new issue