예제 #1
0
        public void TestIsValidString()
        {
            bool stringIsDate  = StringPreProcessor.IsValidString("04-02-2020");
            bool isValidString = StringPreProcessor.IsValidString("review");

            Assert.False(stringIsDate);
            Assert.True(isValidString);
        }
예제 #2
0
 public void TestisValidStringForWordNotExists()
 {
     Assert.True(StringPreProcessor.IsValidString("invalid"));
 }