mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
Added test to confirm Release Group: Cyphanix parses properly
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using NzbDrone.Core.Parser;
|
|
||||||
using NzbDrone.Core.Test.Framework;
|
using NzbDrone.Core.Test.Framework;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Test.ParserTests
|
namespace NzbDrone.Core.Test.ParserTests
|
||||||
@@ -20,6 +17,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|||||||
[TestCase("The Office - S01E01 - Pilot [HTDV-480p]", "DRONE")]
|
[TestCase("The Office - S01E01 - Pilot [HTDV-480p]", "DRONE")]
|
||||||
[TestCase("The Office - S01E01 - Pilot [HTDV-720p]", "DRONE")]
|
[TestCase("The Office - S01E01 - Pilot [HTDV-720p]", "DRONE")]
|
||||||
[TestCase("The Office - S01E01 - Pilot [HTDV-1080p]", "DRONE")]
|
[TestCase("The Office - S01E01 - Pilot [HTDV-1080p]", "DRONE")]
|
||||||
|
[TestCase("The.Walking.Dead.S04E13.720p.WEB-DL.AAC2.0.H.264-Cyphanix", "Cyphanix")]
|
||||||
public void should_parse_release_group(string title, string expected)
|
public void should_parse_release_group(string title, string expected)
|
||||||
{
|
{
|
||||||
Parser.Parser.ParseReleaseGroup(title).Should().Be(expected);
|
Parser.Parser.ParseReleaseGroup(title).Should().Be(expected);
|
||||||
|
|||||||
Reference in New Issue
Block a user