예제 #1
0
        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);
        }
예제 #2
0
 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);
     
 
 }