add testing for tail end string match

This commit is contained in:
Jeremy Wu 2022-11-04 22:38:38 +11:00
parent 7d87292e24
commit 92a9662671

View file

@ -288,6 +288,7 @@ namespace Flow.Launcher.Test
[TestCase("red", "this red colour", "this colour red")]
[TestCase("red", "this red colour", "this colour is very red")]
[TestCase("red", "this red colour", "this colour is surprisingly super awesome red and cool")]
[TestCase("red", "this colour is surprisingly super red very and cool", "this colour is surprisingly super very red and cool")]
public void WhenGivenTwoStrings_Scoring_ShouldGiveMoreWeightToTheStringCloserToIndexZero(
string queryString, string compareString1, string compareString2)
{