aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js')
-rw-r--r--test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js b/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js
deleted file mode 100644
index b6148c42b..000000000
--- a/test/suite/sputnik_converted/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S9.7_A3.1_T3;
- * @section: 9.7;
- * @assertion: Operator uses ToNumber;
- * @description: Type(x) is String;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S9.7_A3.1_T3",
-
-path: "TestCases/09_Type_Conversion/9.7_ToUint16/S9.7_A3.1_T3.js",
-
-assertion: "Operator uses ToNumber",
-
-description: "Type(x) is String",
-
-test: function testcase() {
- // CHECK#1
-if (String.fromCharCode(new String(1)).charCodeAt(0) !== 1) {
- $ERROR('#1: String.fromCharCode(new String(1)).charCodeAt(0) === 1. Actual: ' + (String.fromCharCode(new String(1)).charCodeAt(0)));
-}
-
-// CHECK#2
-if (String.fromCharCode("-1.234").charCodeAt(0) !== 65535) {
- $ERROR('#2: String.fromCharCode("-1.234").charCodeAt(0) === 65535. Actual: ' + (String.fromCharCode("-1.234").charCodeAt(0)));
-}
-
- }
-});
-