public void TestMatchPositions(string searchFor, string candidate, int[] expectedPositions) { var scorer = new Scorer(searchFor); Assert.That(scorer.GetMatchPositions(ref candidate), Is.EqualTo(expectedPositions)); }