mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
parent
d851ecdf2f
commit
b8ce140abc
@ -1,4 +1,4 @@
|
||||
using FluentAssertions;
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Core.Qualities;
|
||||
|
||||
@ -29,6 +29,7 @@ public void should_return_DVD_Remux(Source source, int resolution, Modifier modi
|
||||
}
|
||||
|
||||
[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 @@ public override bool Equals(object obj)
|
||||
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user