add numeric comparison for 'if' directive
add test cases for numeric comparison of 'if' directive
add some abnormal test cases
Merge pull request #315 from flygoast/master

add numeric comparison for 'if' directive