################### # name: Richard # date: 10-10-06 # descript: find the minimum ################### a = input("Enter a number ") b = input("enter another ") def Min(a, b): if a<=b: return a else: return b def testMin(): #case 1 c1 = Min(3,5) #case 2 c2 = Min(0, -2) #case 3 c3 = Min(7,7) if (c1 == 3) and (c2 == -2) and (c3 == 7): print "Passed" else: print "Failed" testMin()