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_T2.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_T2.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_T2.js86
1 files changed, 0 insertions, 86 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_T2.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_T2.js
deleted file mode 100644
index b40514880..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_T2.js
+++ /dev/null
@@ -1,86 +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_T2;
- * @section: 15.1.2.2;
- * @assertion: If R < 2 or R > 36, then return NaN;
- * @description: R = 37;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.1.2.2_A4.2_T2",
-
-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_T2.js",
-
-assertion: "If R < 2 or R > 36, then return NaN",
-
-description: "R = 37",
-
-test: function testcase() {
- //CHECK#0
-if (isNaN(parseInt("0", 37)) !== true) {
- $ERROR('#0: parseInt("0", 37) === Not-a-Number. Actual: ' + (parseInt("0", 37)));
-}
-
-//CHECK#1
-if (isNaN(parseInt("1", 37)) !== true) {
- $ERROR('#1: parseInt("1", 37) === Not-a-Number. Actual: ' + (parseInt("1", 37)));
-}
-
-//CHECK#2
-if (isNaN(parseInt("2", 37)) !== true) {
- $ERROR('#2: parseInt("2", 37) === Not-a-Number. Actual: ' + (parseInt("2", 37)));
-}
-
-//CHECK#3
-if (isNaN(parseInt("3", 37)) !== true) {
- $ERROR('#3: parseInt("3", 37) === Not-a-Number. Actual: ' + (parseInt("3", 37)));
-}
-
-//CHECK#4
-if (isNaN(parseInt("4", 37)) !== true) {
- $ERROR('#4: parseInt("4", 37) === Not-a-Number. Actual: ' + (parseInt("4", 37)));
-}
-
-//CHECK#5
-if (isNaN(parseInt("5", 37)) !== true) {
- $ERROR('#5: parseInt("5", 37) === Not-a-Number. Actual: ' + (parseInt("5", 37)));
-}
-
-//CHECK#6
-if (isNaN(parseInt("6", 37)) !== true) {
- $ERROR('#6: parseInt("6", 37) === Not-a-Number. Actual: ' + (parseInt("6", 37)));
-}
-
-//CHECK#7
-if (isNaN(parseInt("7", 37)) !== true) {
- $ERROR('#7: parseInt("7", 37) === Not-a-Number. Actual: ' + (parseInt("7", 37)));
-}
-
-//CHECK#8
-if (isNaN(parseInt("8", 37)) !== true) {
- $ERROR('#8: parseInt("8", 37) === Not-a-Number. Actual: ' + (parseInt("8", 37)));
-}
-
-//CHECK#9
-if (isNaN(parseInt("9", 37)) !== true) {
- $ERROR('#9: parseInt("9", 37) === Not-a-Number. Actual: ' + (parseInt("9", 37)));
-}
-
-//CHECK#10
-if (isNaN(parseInt("10", 37)) !== true) {
- $ERROR('#10: parseInt("10", 37) === Not-a-Number. Actual: ' + (parseInt("10", 37)));
-}
-
-//CHECK#11
-if (isNaN(parseInt("11", 37)) !== true) {
- $ERROR('#11: parseInt("11", 37) === Not-a-Number. Actual: ' + (parseInt("11", 37)));
-}
-
- }
-});
-