aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js46
1 files changed, 0 insertions, 46 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js b/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js
deleted file mode 100644
index 88ace40a5..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S11.7.1_A3_T1.4;
- * @section: 11.7.1;
- * @assertion: Operator x << y returns ToNumber(x) << ToNumber(y);
- * @description: Type(x) and Type(y) vary between Null and Undefined;
- */
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.7.1_A3_T1.4",
-
-path: "TestCases/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.1_The_Left_shift_Operator/S11.7.1_A3_T1.4.js",
-
-assertion: "Operator x << y returns ToNumber(x) << ToNumber(y)",
-
-description: "Type(x) and Type(y) vary between Null and Undefined",
-
-test: function testcase() {
- //CHECK#1
-if (null << undefined !== 0) {
- $ERROR('#1: null << undefined === 0. Actual: ' + (null << undefined));
-}
-
-//CHECK#2
-if (undefined << null !== 0) {
- $ERROR('#2: undefined << null === 0. Actual: ' + (undefined << null));
-}
-
-//CHECK#3
-if (undefined << undefined !== 0) {
- $ERROR('#3: undefined << undefined === 0. Actual: ' + (undefined << undefined));
-}
-
-//CHECK#4
-if (null << null !== 0) {
- $ERROR('#4: null << null === 0. Actual: ' + (null << null));
-}
-
- }
-});
-