public void Should_return_filtered_words() { //Arrange IWordsDB sut = new WordsDB(words); const string from = "b", to = "c"; //Act var actual = sut.Get(from, to); //Assert Assert.AreEqual(2, actual.Count()); }
public void Should_return_all_words() { //Arrange IWordsDB sut = new WordsDB(words); //Act var actual = sut.Get(); //Assert Assert.AreEqual(4, actual.Count()); }