aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js60
1 files changed, 0 insertions, 60 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js
deleted file mode 100644
index ac670c4a7..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js
+++ /dev/null
@@ -1,60 +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.11.2_A4_T1;
-* @section: 11.11.2;
-* @assertion: If ToBoolean(x) is true, return x;
-* @description: Type(x) and Type(y) vary between primitive boolean and Boolean object;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.11.2_A4_T1",
-
-path: "TestCases/11_Expressions/11.11_Binary_Logical_Operators/11.11.2_Logical_OR_Operator/S11.11.2_A4_T1.js",
-
-assertion: "If ToBoolean(x) is true, return x",
-
-description: "Type(x) and Type(y) vary between primitive boolean and Boolean object",
-
-test: function testcase() {
- //CHECK#1
-if (((true || true)) !== true) {
- $ERROR('#1: (true || true) === true');
-}
-
-//CHECK#2
-if ((true || false) !== true) {
- $ERROR('#2: (true || false) === true');
-}
-
-//CHECK#3
-var x = new Boolean(true);
-if ((x || new Boolean(true)) !== x) {
- $ERROR('#3: (var x = new Boolean(true); (x || new Boolean(true)) === x');
-}
-
-//CHECK#4
-var x = new Boolean(true);
-if ((x || new Boolean(false)) !== x) {
- $ERROR('#4: (var x = new Boolean(true); (x || new Boolean(false)) === x');
-}
-
-//CHECK#5
-var x = new Boolean(false);
-if ((x || new Boolean(true)) !== x) {
- $ERROR('#5: (var x = new Boolean(false); (x || new Boolean(true)) === x');
-}
-
-//CHECK#6
-var x = new Boolean(false);
-if ((x || new Boolean(false)) !== x) {
- $ERROR('#6: (var x = new Boolean(false); (x || new Boolean(false)) === x');
-}
-
- }
-});
-