add vec2 test cases
Merge pull request #31 from wjx0930/master

add vec2 test cases