def sexto_teste(): try: retorno = numero_perfeito.eh_perfeito(-6) assert retorno is False print("Sexto Teste Correto") except AssertionError: print("Sexto Teste com Erro")
def terceiro_teste(): try: retorno = numero_perfeito.eh_perfeito(100) assert retorno is False print("Terceiro Teste Correto") except AssertionError: print("Terceiro Teste com Erro")
def primeiro_teste(): try: retorno = numero_perfeito.eh_perfeito(6) assert retorno is True print("Primeiro Teste Correto") except AssertionError: print("Primeiro Teste com Erro")
def segundo_teste(): try: retorno = numero_perfeito.eh_perfeito(8128) assert retorno is True print("Segundo Teste Correto") except AssertionError: print("Segundo Teste com Erro")