mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-05 13:21:25 -05:00
@@ -1,4 +1,4 @@
|
||||
using FluentAssertions;
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Core.Qualities;
|
||||
|
||||
@@ -29,6 +29,7 @@ namespace NzbDrone.Core.Test.Qualities
|
||||
}
|
||||
|
||||
[TestCase(Source.DVD, 480, Modifier.NONE)]
|
||||
[TestCase(Source.DVD, 576, Modifier.NONE)]
|
||||
public void should_return_DVD(Source source, int resolution, Modifier modifier)
|
||||
{
|
||||
QualityFinder.FindBySourceAndResolution(source, resolution, modifier).Should().Be(Quality.DVD);
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace NzbDrone.Core.Qualities
|
||||
|
||||
// SD
|
||||
public static Quality SDTV => new Quality(1, "SDTV", Source.TV, 480);
|
||||
public static Quality DVD => new Quality(2, "DVD", Source.DVD, 480);
|
||||
public static Quality DVD => new Quality(2, "DVD", Source.DVD, 0);
|
||||
public static Quality DVDR => new Quality(23, "DVD-R", Source.DVD, 480, Modifier.REMUX); // new
|
||||
|
||||
// HDTV
|
||||
|
||||
Reference in New Issue
Block a user