Browse Source

Fixed tests

Christophe Riccio 14 năm trước cách đây
mục cha
commit
dad27d9b37

+ 1 - 1
test/core/core_func_common.cpp

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

+ 1 - 1
test/gtx/gtx_vector_query.cpp

@@ -24,7 +24,7 @@ int test_isNormalized()
 {
 {
     int Error(0);
     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;
     Error += TestA ? 0 : 1;
 
 
     return Error;
     return Error;