Create a unit test suite for a Python function
Write a pytest suite for a Python function that [FUNCTION_DESCRIPTION]. Include test cases for edge cases, error handling, and expected outputs. Replace [FUNCTION_DESCRIPTION] with a brief description of the function.
For ensuring code quality and reliability.