|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
using FluentAssertions;
|
|
|
|
|
using FluentAssertions;
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
using NzbDrone.Core.Parser;
|
|
|
|
|
using NzbDrone.Core.Test.Framework;
|
|
|
|
@ -74,6 +74,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|
|
|
|
[TestCase("To.Live.and.Die.in.L.A.1985.1080p.BluRay", "To Live and Die in L.A.")]
|
|
|
|
|
[TestCase("A.I.Artificial.Intelligence.(2001)", "A.I. Artificial Intelligence")]
|
|
|
|
|
[TestCase("A.Movie.Name.(1998)", "A Movie Name")]
|
|
|
|
|
[TestCase("Thor: The Dark World 2013", "Thor The Dark World")]
|
|
|
|
|
public void should_parse_movie_title(string postTitle, string title)
|
|
|
|
|
{
|
|
|
|
|
Parser.Parser.ParseMovieTitle(postTitle).MovieTitle.Should().Be(title);
|
|
|
|
|