Fixed: Correct and speed up FuzzyContains

Fixes READARR-C1
This commit is contained in:
ta264
2022-02-03 21:57:01 +00:00
parent ee1112026a
commit e7410959fe
4 changed files with 233 additions and 121 deletions
@@ -234,6 +234,7 @@ namespace NzbDrone.Core.Test.ParserTests
parseResult.Should().BeNull();
}
[TestCase("George R.R. Martin", "The Hero", "The Hero George R R Martin", "George R R Martin", "The Hero")]
[TestCase("James Herbert", "48", "James Hertbert Collection/'48 - James Herbert (epub)", "James Herbert", "48")]
public void should_parse_with_search_criteria(string searchAuthor, string searchBook, string report, string expectedAuthor, string expectedBook)
{