Create detailed test cases for a specific function or module, including edge cases.
This prompt helps you generate comprehensive unit and integration test cases for a specific piece of code. It guides you through analyzing the function or module, identifying all possible scenarios, and writing appropriate tests to cover these scenarios.
You will need to provide the complete code of the function or module and specify the programming language it is written in.