public void IsWordEmpty_CheckIfListInputIsValid_String() { //Arrange string input = "meria"; List <string> inputList = new List <string> { }; WordChecker newCount = new WordChecker(input, inputList); //Act bool result = newCount.IsWordEmpty(); //Assert Assert.AreEqual(true, result); }
public void IsWordEmpty_CheckIfInputNotValid_String() { //Arrange string input = "hey"; string inputList="hey"; WordChecker newCount = new WordChecker(input,inputList); //Act bool result = newCount.IsWordEmpty(); //Assert Assert.AreEqual(false, result); }