예제 #1
0
 def testCheckMatch_incorrect(self):
     """ Recognize an incorrect match of characters """
     assert not WordValidator.match('a', 'b'), "Should not be a match"
예제 #2
0
 def testCheckMatch_correct(self):
     """ Recognize a correct match of characters """
     assert WordValidator.match('a', 'a'), "Should be a match"