Browse Source

Fixed vec1 test

Christophe Riccio 8 years ago
parent
commit
f2cb4a3fdf
1 changed files with 1 additions and 4 deletions
  1. 1 4
      test/core/core_type_vec1.cpp

+ 1 - 4
test/core/core_type_vec1.cpp

@@ -107,7 +107,7 @@ int test_vec1_size()
 	Error += glm::dvec1::length() == 1 ? 0 : 1;
 
 #	if GLM_HAS_CONSTEXPR_PARTIAL
-	constexpr std::size_t Length = glm::vec2::length();
+	constexpr std::size_t Length = glm::vec1::length();
 	Error += Length == 1 ? 0 : 1;
 #	endif
 
@@ -145,9 +145,6 @@ int main()
 {
 	int Error = 0;
 
-	glm::vec1 v;
-	assert(v.length() == 1);
-
 	Error += test_vec1_size();
 	Error += test_vec1_ctor();
 	Error += test_vec1_operators();