def test_answerCallForFriendDifferentAreaCodeGoodTime(self): # Capture the results of the function result = answerCall.answerCall("F", False, "13:00")
def test_answerCallForRelativeDifferentAreaCodeGoodTime(self): # Capture the results of the function result = answerCall.answerCall("R", False, "16:00")
def test_answerCallForTelemarketerSameAreaCodeGoodTime(self): # Capture the results of the function result = answerCall.answerCall("T", True, "10:40" )
def test_answerCallForTelemarketerDifferentAreaCodeBadTime(self): # Capture the results of the function result = answerCall.answerCall("T", False, "23:00" )
def test_answerCallForUnknownDifferentAreaCodeGoodTime(self): # Capture the results of the function result = answerCall.answerCall("U", False, "14:00")
def test_answerCallForUnknownSameAreaCodeGoodTime(self): # Capture the results of the function result = answerCall.answerCall("U", True, "09:00") # Check for expected output self.assertEqual(True, result)
def test_answerCallForRelativeDifferentAreaCodeGoodTime(self): # Capture the results of the function result = answerCall.answerCall("R", False, "16:00") # Check for expected output self.assertEqual(False, result)
def test_answerCallForFriendDifferentAreaCodeBadTime(self): # Capture the results of the function result = answerCall.answerCall("F", False, "23:00") # Check for expected output self.assertEqual(False, result)
def test_answerCallForTelemarketerSameAreaCodeGoodTime(self): # Capture the results of the function result = answerCall.answerCall("T", True, "10:40") # Check for expected output self.assertEqual(False, result)