public void TestParallelFindSmallMatrixShortStream() { var solver = new WordFinder(_matrixSmall); var result = solver.ParallelFind(_searchWordsShort); Assert.AreEqual(3, result.Count); }
public void TestParallelFindBigMatrixLongStream() { var solver = new WordFinder(_matrixLarge); var result = solver.ParallelFind(_searchWordsLong); Assert.AreEqual(10, result.Count); Assert.AreEqual((result.GetRange(0, 3)), new List <string>() { "cold", "wind", "snow" }); }