結果 : how to write test cases in python