結果 : explain how to write test cases in python