aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js45
1 files changed, 0 insertions, 45 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js
deleted file mode 100644
index d7e4a8d13..000000000
--- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js
+++ /dev/null
@@ -1,45 +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.1.1_A2_T1;
- * @section: 15.1.1.1, 15.5.1, 15.6.1, 15.7.1;
- * @assertion: The NaN is not ReadOnly;
- * @description: Checking Boolean, Number, String Functions;
- * @strict_mode_negative
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.1.1.1_A2_T1",
-
-path: "TestCases/15_Native/15.1_The_Global_Object/15.1.1_Value_Properties_of_the_Global_Object/15.1.1.1_NaN/S15.1.1.1_A2_T1.js",
-
-assertion: "The NaN is not ReadOnly",
-
-description: "Checking Boolean, Number, String Functions",
-
-test: function testcase() {
- // CHECK#1
-NaN = 1;
-if (Boolean(NaN) !== true) {
- $ERROR('#1: NaN = 1; Boolean(NaN) === true. Actual: ' + (Boolean(NaN)));
-}
-
-// CHECK#2
-NaN = true;
-if (Number(NaN) !== 1) {
- $ERROR('#2: NaN = true; Number(NaN) === 1. Actual: ' + (Number(NaN)));
-}
-
-// CHECK#3
-NaN = 1;
-if (String(NaN) !== "1") {
- $ERROR('#3: NaN = 1; String(NaN) === "1". Actual: ' + (String(NaN)));
-}
-
- }
-});
-