結果 : how to test a function in python