소스 검색

re-activating some Math.unit.hx tests

Justin Donaldson 9 년 전
부모
커밋
bcd544a62d
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      tests/unit/src/unitstd/Math.unit.hx

+ 5 - 5
tests/unit/src/unitstd/Math.unit.hx

@@ -51,9 +51,9 @@ Math.isNaN(Math.POSITIVE_INFINITY / Math.NEGATIVE_INFINITY) == true;
 Math.isNaN(Math.NEGATIVE_INFINITY / Math.POSITIVE_INFINITY) == true;
 Math.isNaN(Math.NEGATIVE_INFINITY / Math.POSITIVE_INFINITY) == true;
 Math.isNaN(Math.NEGATIVE_INFINITY / Math.NEGATIVE_INFINITY) == true;
 Math.isNaN(Math.NEGATIVE_INFINITY / Math.NEGATIVE_INFINITY) == true;
 Math.isNaN(Math.NaN / Math.POSITIVE_INFINITY) == true;
 Math.isNaN(Math.NaN / Math.POSITIVE_INFINITY) == true;
-// Math.isNaN(Math.POSITIVE_INFINITY / Math.NaN) == true;
+Math.isNaN(Math.POSITIVE_INFINITY / Math.NaN) == true;
 Math.isNaN(Math.NaN / Math.POSITIVE_INFINITY) == true;
 Math.isNaN(Math.NaN / Math.POSITIVE_INFINITY) == true;
-// Math.isNaN(Math.NEGATIVE_INFINITY / Math.NaN) == true;
+Math.isNaN(Math.NEGATIVE_INFINITY / Math.NaN) == true;
 
 
 // abs
 // abs
 Math.abs(-1.223) == 1.223;
 Math.abs(-1.223) == 1.223;
@@ -276,9 +276,9 @@ math.isNaN(math.POSITIVE_INFINITY / math.NEGATIVE_INFINITY) == true;
 math.isNaN(math.NEGATIVE_INFINITY / math.POSITIVE_INFINITY) == true;
 math.isNaN(math.NEGATIVE_INFINITY / math.POSITIVE_INFINITY) == true;
 math.isNaN(math.NEGATIVE_INFINITY / math.NEGATIVE_INFINITY) == true;
 math.isNaN(math.NEGATIVE_INFINITY / math.NEGATIVE_INFINITY) == true;
 math.isNaN(math.NaN / math.POSITIVE_INFINITY) == true;
 math.isNaN(math.NaN / math.POSITIVE_INFINITY) == true;
-// math.isNaN(math.POSITIVE_INFINITY / math.NaN) == true;
+math.isNaN(math.POSITIVE_INFINITY / math.NaN) == true;
 math.isNaN(math.NaN / math.POSITIVE_INFINITY) == true;
 math.isNaN(math.NaN / math.POSITIVE_INFINITY) == true;
-// math.isNaN(math.NEGATIVE_INFINITY / math.NaN) == true;
+math.isNaN(math.NEGATIVE_INFINITY / math.NaN) == true;
 
 
 // abs
 // abs
 math.abs(-1.223) == 1.223;
 math.abs(-1.223) == 1.223;
@@ -431,4 +431,4 @@ math.isFinite(0.0) == true;
 math.isNaN(math.POSITIVE_INFINITY) == false;
 math.isNaN(math.POSITIVE_INFINITY) == false;
 math.isNaN(math.NEGATIVE_INFINITY) == false;
 math.isNaN(math.NEGATIVE_INFINITY) == false;
 math.isNaN(math.NaN) == true;
 math.isNaN(math.NaN) == true;
-math.isNaN(0.0) == false;
+math.isNaN(0.0) == false;