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.
13 lines
458 B
13 lines
458 B
2 years ago
|
using Recyclarr.TrashLib.Services.CustomFormat.Models;
|
||
3 years ago
|
|
||
2 years ago
|
namespace Recyclarr.TrashLib.TestLibrary;
|
||
3 years ago
|
|
||
|
public static class CfTestUtils
|
||
3 years ago
|
{
|
||
3 years ago
|
public static QualityProfileCustomFormatScoreMapping NewMapping(params FormatMappingEntry[] entries)
|
||
|
=> new(false) {Mapping = entries.ToList()};
|
||
3 years ago
|
|
||
3 years ago
|
public static QualityProfileCustomFormatScoreMapping NewMappingWithReset(params FormatMappingEntry[] entries)
|
||
|
=> new(true) {Mapping = entries.ToList()};
|
||
3 years ago
|
}
|