#22

1. to process the -1 or 0 case more elegent
2. append the test result