Browse Source

Added vec2 length test

Christophe Riccio 11 years ago
parent
commit
233847ebfb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      test/core/core_type_vec2.cpp

+ 3 - 0
test/core/core_type_vec2.cpp

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