Como escrever e usar doctest para escrever código de teste em docstrings em Python. https://pt.from-locals.com/python-doctest-example/