Browse Source

Fixed tests

Christophe Riccio 14 năm trước cách đây
mục cha
commit
dad27d9b37
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      test/core/core_func_common.cpp
  2. 1 1
      test/gtx/gtx_vector_query.cpp

+ 1 - 1
test/core/core_func_common.cpp

@@ -296,7 +296,7 @@ int main()
 	Error += test_floatBitsToUint();
 	Error += test_mix();
 	Error += test_round();
-	//Error += test_roundEven();
+	Error += test_roundEven();
 
 	return Error;
 }

+ 1 - 1
test/gtx/gtx_vector_query.cpp

@@ -24,7 +24,7 @@ int test_isNormalized()
 {
     int Error(0);
     
-	bool TestA = glm::isNormalized(glm::vec4(1), 0.00001f);
+	bool TestA = glm::isNormalized(glm::vec4(1, 0, 0, 0), 0.00001f);
     Error += TestA ? 0 : 1;
 
     return Error;