วิธีเขียนและใช้ doctest เพื่อเขียนโค้ดทดสอบใน docstrings ใน Python https://th.from-locals.com/python-doctest-example/