public void Setup() { intermediateQueue = new IntermediateQueue(); }
public void SetUp() { _intermediateQueue = new IntermediateQueue(); }
public void FindWordsandPositionsShouldBeCorrect(string [] searchWords, Chunk chunk, IntermediateQueue expected) { //arrange Searcher searcher = new Searcher(searchWords, chunk, _intermediateQueue); //act searcher.FindWordsAndPositions(); //assert Assert.AreEqual(expected, _intermediateQueue); }
public void Setup() { intermediateQueue = new IntermediateQueue(); expected = new Dictionary <string, List <int> >(); }