More parsing tests to ensure anime doesn't break standard episodes

This commit is contained in:
Mark McDowall 2013-11-29 22:22:51 -08:00
parent 2bc34e2d57
commit 26495aaa4b
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Dont.Trust.The.B----.in.Apartment.23.S01E01", "Dont.Trust.The.B----.in.Apartment.23", 1, 1)]
[TestCase("24 S01E01", "24", 1, 1)]
[TestCase("24.S01E01", "24", 1, 1)]
[TestCase("Homeland - 2x12 - The Choice [HDTV-1080p].mkv", "Homeland", 2, 12)]
[TestCase("Homeland - 2x4 - New Car Smell [HDTV-1080p].mkv", "Homeland", 2, 4)]
public void ParseTitle_single(string postTitle, string title, int seasonNumber, int episodeNumber)
{
var result = Parser.Parser.ParseTitle(postTitle);