mirror of
https://github.com/Sonarr/Sonarr
synced 2025-12-06 08:28:37 +01:00
19 lines
585 B
C#
19 lines
585 B
C#
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Core.Test.Framework;
|
|
|
|
namespace NzbDrone.Core.Test.ParserTests
|
|
{
|
|
[TestFixture]
|
|
public class SubGroupParserFixture : CoreTest
|
|
{
|
|
[TestCase("[GHOST][1080p] Series - 25 [BD HEVC 10bit Dual Audio AC3][AE0ADDBA]", "GHOST")]
|
|
public void should_parse_sub_group_from_title_as_release_group(string title, string expected)
|
|
{
|
|
var result = Parser.Parser.ParseTitle(title);
|
|
|
|
result.Should().NotBeNull();
|
|
result.ReleaseGroup.Should().Be(expected);
|
|
}
|
|
}
|
|
}
|