You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
502 B
15 lines
502 B
using Recyclarr.TrashGuide.QualitySize;
|
|
|
|
namespace Recyclarr.Tests.TestLibrary;
|
|
|
|
public static class NewQualitySize
|
|
{
|
|
public static QualityItemWithLimits WithLimits(string quality, decimal min, decimal max, decimal preferred)
|
|
{
|
|
var item = new QualityItem(quality, min, max, preferred);
|
|
return new QualityItemWithLimits(item, new QualityItemLimits(
|
|
TestQualityItemLimits.MaxUnlimitedThreshold,
|
|
TestQualityItemLimits.PreferredUnlimitedThreshold));
|
|
}
|
|
}
|