def test_is_not_missed(): """ Tests that correct letter is found in the word :return: """ game = Game() game.word = 'word' assert game.is_missed('w') is False
def test_is_missed(): """ Tests that wrong letter isn't found in the word :return: """ game = Game() game.word = 'word' assert game.is_missed('x') is True