コード例 #1
0
ファイル: wordValidatorTest.py プロジェクト: cloew/WordGuess
 def testCheckMatch_incorrect(self):
     """ Recognize an incorrect match of characters """
     assert not WordValidator.match('a', 'b'), "Should not be a match"
コード例 #2
0
ファイル: wordValidatorTest.py プロジェクト: cloew/WordGuess
 def testCheckMatch_correct(self):
     """ Recognize a correct match of characters """
     assert WordValidator.match('a', 'a'), "Should be a match"