def testCheckClose_closeDown(self): """ Recognize a character within 5 characters down of the target """ assert WordValidator.close("f", "a"), "Should be close"
def testCheckClose_notClose(self): """ Recognize a character within 5 characters down of the target """ assert not WordValidator.close("a", "z"), "Should not be close"
def testCheckClose_closeUp(self): """ Recognize a character within 5 characters up of the target """ assert WordValidator.close("a", "f"), "Should be close"