Added vec2 length test

This commit is contained in:
Christophe Riccio 2014-02-25 19:12:52 +01:00
parent ae2af04599
commit 233847ebfb

View File

@ -277,6 +277,9 @@ int main()
{ {
int Error = 0; int Error = 0;
glm::vec2 v;
assert(v.length() == 2);
Error += test_vec2_size(); Error += test_vec2_size();
Error += test_vec2_ctor(); Error += test_vec2_ctor();
Error += test_vec2_operators(); Error += test_vec2_operators();