aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js
deleted file mode 100644
index ab1f2802e..000000000
--- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.1.2.2_A4.2_T3;
- * @section: 15.1.2.2;
- * @assertion: If R < 2 or R > 36, then return NaN;
- * @description: Complex test;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.1.2.2_A4.2_T3",
-
-path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.2_parseInt/S15.1.2.2_A4.2_T3.js",
-
-assertion: "If R < 2 or R > 36, then return NaN",
-
-description: "Complex test",
-
-test: function testcase() {
- //CHECK#
-var pow = 2;
-for (var i = 1; i < 32; i++) {
- if (pow > 36) {
- var res = true;
- if (isNaN(parseInt(1, pow)) !== true) {
- $ERROR('#1.' + i + ': If R < 2 or R > 36, then return NaN');
- }
- if (isNaN(parseInt(1, -pow)) !== true) {
- $ERROR('#2.' + i + ': If R < 2 or R > 36, then return NaN');
- }
- }
- pow = pow * 2;
-}
-
- }
-});
-