aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch11/11.7/11.7.2
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch11/11.7/11.7.2')
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A1.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T1.js11
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T2.js12
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T3.js12
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A2.2_T1.js11
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A2.3_T1.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T1.js12
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T2.js11
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T3.js12
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.1.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.2.js12
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.3.js11
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.4.js11
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.5.js12
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.1.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.2.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.3.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.4.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.5.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.6.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.7.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.8.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.9.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T1.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T2.js11
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T3.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T4.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A5.1_T1.js13
-rw-r--r--test/suite/ch11/11.7/11.7.2/S11.7.2_A5.2_T1.js13
29 files changed, 145 insertions, 214 deletions
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A1.js
index 086e03849..6e7ebc871 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * White Space and Line Terminator between ShiftExpression and ">>" or between ">>" and AdditiveExpression are allowed
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A1.js
- * @description Checking by using eval
- */
+/*---
+info: >
+ White Space and Line Terminator between ShiftExpression and ">>" or
+ between ">>" and AdditiveExpression are allowed
+description: Checking by using eval
+---*/
//CHECK#1
if (eval("-4\u0009>>\u00091") !== -2) {
@@ -57,4 +57,3 @@ if (eval("-4\u2029>>\u20291") !== -2) {
if (eval("-4\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>>\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== -2) {
$ERROR('#10: -4\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>>\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291 === -2');
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T1.js
index b036436d8..0dc74cb5a 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y uses GetValue
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A2.1_T1.js
- * @description Either Type is not Reference or GetBase is not null
- */
+/*---
+info: Operator x >> y uses GetValue
+description: Either Type is not Reference or GetBase is not null
+---*/
//CHECK#1
if (-4 >> 1 !== -2) {
@@ -40,4 +38,3 @@ objecty.prop = 1;
if (objectx.prop >> objecty.prop !== -2) {
$ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = -4; objecty.prop = 1; objectx.prop >> objecty.prop === -2. Actual: ' + (objectx.prop >> objecty.prop));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T2.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T2.js
index 107ac4ade..8d14f01b3 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T2.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y uses GetValue
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A2.1_T2.js
- * @description If GetBase(x) is null, throw ReferenceError
- */
+/*---
+info: Operator x >> y uses GetValue
+description: If GetBase(x) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,5 +16,3 @@ catch (e) {
$ERROR('#1.2: x >> 1 throw ReferenceError. Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T3.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T3.js
index 1ce6c6dd2..d952752c1 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T3.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.1_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y uses GetValue
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A2.1_T3.js
- * @description If GetBase(y) is null, throw ReferenceError
- */
+/*---
+info: Operator x >> y uses GetValue
+description: If GetBase(y) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,5 +16,3 @@ catch (e) {
$ERROR('#1.2: 1 >> y throw ReferenceError. Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.2_T1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.2_T1.js
index 3debe0ae1..f1e26364b 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.2_T1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.2_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y uses [[Default Value]]
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A2.2_T1.js
- * @description If Type(value) is Object, evaluate ToPrimitive(value, Number)
- */
+/*---
+info: Operator x >> y uses [[Default Value]]
+description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
+---*/
//CHECK#1
if ({valueOf: function() {return -4}} >> 1 !== -2) {
@@ -68,4 +66,3 @@ catch (e) {
$ERROR('#8.2: -4 >> {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.3_T1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.3_T1.js
index 1d3d1c544..0d8db695a 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.3_T1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.3_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * ToNumber(first expression) is called first, and then ToNumber(second expression)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A2.3_T1.js
- * @description Checking with "throw"
- */
+/*---
+info: >
+ ToNumber(first expression) is called first, and then ToNumber(second
+ expression)
+description: Checking with "throw"
+---*/
//CHECK#1
var x = { valueOf: function () { throw "x"; } };
@@ -23,4 +23,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T1.js
index 310bee61f..fe32cfcb6 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A2.4_T1.js
- * @description Checking with "="
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "="
+---*/
//CHECK#1
var x = 0;
@@ -19,5 +17,3 @@ var x = -4;
if (x >> (x = 1) !== -2) {
$ERROR('#2: var x = -4; x >> (x = 1) === -2. Actual: ' + (x >> (x = 1)));
}
-
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T2.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T2.js
index 4f1eb349a..da0a09f2d 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T2.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A2.4_T2.js
- * @description Checking with "throw"
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "throw"
+---*/
//CHECK#1
var x = function () { throw "x"; };
@@ -23,4 +21,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T3.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T3.js
index 45f52d79d..fcab44629 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T3.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A2.4_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A2.4_T3.js
- * @description Checking with undeclarated variables
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with undeclarated variables
+---*/
//CHECK#1
try {
@@ -23,5 +21,3 @@ catch (e) {
if ((y = 1) >> y !== 0) {
$ERROR('#2: (y = 1) >> y === 0. Actual: ' + ((y = 1) >> y));
}
-
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.1.js
index 0f872cd25..614084938 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T1.1.js
- * @description Type(x) and Type(y) vary between primitive boolean and Boolean object
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) and Type(y) vary between primitive boolean and Boolean
+ object
+---*/
//CHECK#1
if (true >> true !== 0) {
@@ -27,4 +27,3 @@ if (true >> new Boolean(true) !== 0) {
if (new Boolean(true) >> new Boolean(true) !== 0) {
$ERROR('#4: new Boolean(true) >> new Boolean(true) === 0. Actual: ' + (new Boolean(true) >> new Boolean(true)));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.2.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.2.js
index 0398c019a..4ab0f8991 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.2.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T1.2.js
- * @description Type(x) and Type(y) vary between primitive number and Number object
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: Type(x) and Type(y) vary between primitive number and Number object
+---*/
//CHECK#1
if (1 >> 1 !== 0) {
@@ -27,5 +25,3 @@ if (1 >> new Number(1) !== 0) {
if (new Number(1) >> new Number(1) !== 0) {
$ERROR('#4: new Number(1) >> new Number(1) === 0. Actual: ' + (new Number(1) >> new Number(1)));
}
-
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.3.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.3.js
index 7172e563c..fb06756f2 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.3.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T1.3.js
- * @description Type(x) and Type(y) vary between primitive string and String object
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: Type(x) and Type(y) vary between primitive string and String object
+---*/
//CHECK#1
if ("1" >> "1" !== 0) {
@@ -37,4 +35,3 @@ if ("x" >> "1" !== 0) {
if ("1" >> "x" !== 1) {
$ERROR('#6: "1" >> "x" === 1. Actual: ' + ("1" >> "x"));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.4.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.4.js
index b792d7c82..4b0b0c1d0 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.4.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T1.4.js
- * @description Type(x) and Type(y) vary between Null and Undefined
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: Type(x) and Type(y) vary between Null and Undefined
+---*/
//CHECK#1
if (null >> undefined !== 0) {
@@ -27,4 +25,3 @@ if (undefined >> undefined !== 0) {
if (null >> null !== 0) {
$ERROR('#4: null >> null === 0. Actual: ' + (null >> null));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.5.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.5.js
index 3f208836f..e4020d246 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.5.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T1.5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T1.5.js
- * @description Type(x) and Type(y) vary between Object object and Function object
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: Type(x) and Type(y) vary between Object object and Function object
+---*/
//CHECK#1
if (({} >> function(){return 1}) !== 0) {
@@ -27,5 +25,3 @@ if ((function(){return 1} >> function(){return 1}) !== 0) {
if (({} >> {}) !== 0) {
$ERROR('#4: ({} >> {}) === 0. Actual: ' + (({} >> {})));
}
-
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.1.js
index 808fb0e3a..820fc5296 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T2.1.js
- * @description Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Number (primitive or object) and Boolean (primitive and object)
+---*/
//CHECK#1
if (true >> 1 !== 0) {
@@ -47,4 +47,3 @@ if (new Boolean(true) >> new Number(1) !== 0) {
if (new Number(1) >> new Boolean(true) !== 0) {
$ERROR('#8: new Number(1) >> new Boolean(true) === 0. Actual: ' + (new Number(1) >> new Boolean(true)));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.2.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.2.js
index 57c037ae0..94bf28baa 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.2.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T2.2.js
- * @description Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Number (primitive or object) and String (primitive and object)
+---*/
//CHECK#1
if ("1" >> 1 !== 0) {
@@ -57,4 +57,3 @@ if ("x" >> 1 !== 0) {
if (1 >> "x" !== 1) {
$ERROR('#10: 1 >> "x" === 1. Actual: ' + (1 >> "x"));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.3.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.3.js
index fe7a31aaa..0653a843e 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.3.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T2.3.js
- * @description Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Number (primitive or object) and Null
+---*/
//CHECK#1
if (1 >> null !== 1) {
@@ -27,4 +27,3 @@ if (new Number(1) >> null !== 1) {
if (null >> new Number(1) !== 0) {
$ERROR('#4: null >> new Number(1) === 0. Actual: ' + (null >> new Number(1)));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.4.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.4.js
index 138b77681..8231a7d67 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.4.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.4.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T2.4.js
- * @description Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Number (primitive or object) and Undefined
+---*/
//CHECK#1
if (1 >> undefined !== 1) {
@@ -27,4 +27,3 @@ if (new Number(1) >> undefined !== 1) {
if (undefined >> new Number(1) !== 0) {
$ERROR('#4: undefined >> new Number(1) === 0. Actual: ' + (undefined >> new Number(1)));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.5.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.5.js
index ca296c62e..c864b0476 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.5.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.5.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T2.5.js
- * @description Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ String (primitive or object) and Boolean (primitive and object)
+---*/
//CHECK#1
if (true >> "1" !== 0) {
@@ -47,4 +47,3 @@ if (new Boolean(true) >> new String("1") !== 0) {
if (new String("1") >> new Boolean(true) !== 0) {
$ERROR('#8: new String("1") >> new Boolean(true) === 0. Actual: ' + (new String("1") >> new Boolean(true)));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.6.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.6.js
index ea18c20a6..4dc7aa86a 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.6.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.6.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T2.6.js
- * @description Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ String (primitive or object) and Undefined
+---*/
//CHECK#1
if ("1" >> undefined !== 1) {
@@ -27,4 +27,3 @@ if (new String("1") >> undefined !== 1) {
if (undefined >> new String("1") !== 0) {
$ERROR('#4: undefined >> new String("1") === 0. Actual: ' + (undefined >> new String("1")));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.7.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.7.js
index 3061313c2..65b947c58 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.7.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.7.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T2.7.js
- * @description Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ String (primitive or object) and Null
+---*/
//CHECK#1
if ("1" >> null !== 1) {
@@ -27,4 +27,3 @@ if (new String("1") >> null !== 1) {
if (null >> new String("1") !== 0) {
$ERROR('#4: null >> new String("1") === 0. Actual: ' + (null >> new String("1")));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.8.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.8.js
index a918a6791..b0f97f852 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.8.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.8.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T2.8.js
- * @description Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Boolean (primitive or object) and Undefined
+---*/
//CHECK#1
if (true >> undefined !== 1) {
@@ -27,4 +27,3 @@ if (new Boolean(true) >> undefined !== 1) {
if (undefined >> new Boolean(true) !== 0) {
$ERROR('#4: undefined >> new Boolean(true) === 0. Actual: ' + (undefined >> new Boolean(true)));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.9.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.9.js
index f5cbaf944..68b484c92 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.9.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A3_T2.9.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y returns ToNumber(x) >> ToNumber(y)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A3_T2.9.js
- * @description Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null
- */
+/*---
+info: Operator x >> y returns ToNumber(x) >> ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Boolean (primitive or object) and Null
+---*/
//CHECK#1
if (true >> null !== 1) {
@@ -27,4 +27,3 @@ if (new Boolean(true) >> null !== 1) {
if (null >> new Boolean(true) !== 0) {
$ERROR('#4: null >> new Boolean(true) === 0. Actual: ' + (null >> new Boolean(true)));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T1.js
index 851139bb1..493059628 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Check x >> y operator in distinct points
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A4_T1.js
- * @description ShiftExpression = -2^n, n = 0...15
- */
+/*---
+info: Check x >> y operator in distinct points
+description: ShiftExpression = -2^n, n = 0...15
+---*/
//CHECK
@@ -2567,5 +2565,4 @@ if (-1073741824 >> 15 !== -32768) {
if (-2147483648 >> 15 !== -65536) {
$ERROR('#512: -2147483648 >> 15 === -65536. Actual: ' + (-2147483648 >> 15));
-}
-
+}
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T2.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T2.js
index 7077af853..cedd6cb56 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T2.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Check x >> y operator in distinct points
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A4_T2.js
- * @description ShiftExpression = 2^n - 1, n = 16...31
- */
+/*---
+info: Check x >> y operator in distinct points
+description: ShiftExpression = 2^n - 1, n = 16...31
+---*/
//CHECK
@@ -2568,4 +2566,3 @@ if (-1073741824 >> 31 !== -1) {
if (-2147483648 >> 31 !== -1) {
$ERROR('#1024: -2147483648 >> 31 === -1. Actual: ' + (-2147483648 >> 31));
}
-
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T3.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T3.js
index 40f8d686d..d7afac984 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T3.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Check x >> y operator in distinct points
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A4_T3.js
- * @description ShiftExpression = 2^n - 1, n = 0...15
- */
+/*---
+info: Check x >> y operator in distinct points
+description: ShiftExpression = 2^n - 1, n = 0...15
+---*/
//CHECK
@@ -2567,5 +2565,4 @@ if (1073741823 >> 15 !== 32767) {
if (2147483647 >> 15 !== 65535) {
$ERROR('#512: 2147483647 >> 15 === 65535. Actual: ' + (2147483647 >> 15));
-}
-
+}
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T4.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T4.js
index aa1e0065a..b6cc04e06 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T4.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A4_T4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Check x >> y operator in distinct points
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A4_T4.js
- * @description ShiftExpression = 2^n - 1, n = 16...31
- */
+/*---
+info: Check x >> y operator in distinct points
+description: ShiftExpression = 2^n - 1, n = 16...31
+---*/
//CHECK
@@ -2562,5 +2560,4 @@ if (536870911 >> 31 !== 0) {
if (1073741823 >> 31 !== 0) {
$ERROR('#1023: 1073741823 >> 31 === 0. Actual: ' + (1073741823 >> 31));
-}
-
+}
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A5.1_T1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A5.1_T1.js
index aa732c311..3d704ea14 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A5.1_T1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A5.1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y uses ToInt32(ShiftExpression)
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A5.1_T1.js
- * @description Checking boundary points
- */
+/*---
+info: Operator x >> y uses ToInt32(ShiftExpression)
+description: Checking boundary points
+---*/
//CHECK#1
if (2147483648.1 >> 0 !== -2147483648) {
@@ -56,5 +54,4 @@ if (-4294967296.1 >> 0 !== 0) {
//CHECK#10
if (-6442450944.1 >> 0 !== -2147483648) {
$ERROR('#10: -6442450944.1 >> 0 === -2147483648. Actual: ' + (-6442450944.1 >> 0));
-}
-
+}
diff --git a/test/suite/ch11/11.7/11.7.2/S11.7.2_A5.2_T1.js b/test/suite/ch11/11.7/11.7.2/S11.7.2_A5.2_T1.js
index 64eca8df3..ce8c6842e 100644
--- a/test/suite/ch11/11.7/11.7.2/S11.7.2_A5.2_T1.js
+++ b/test/suite/ch11/11.7/11.7.2/S11.7.2_A5.2_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >> y uses ToUint32(AdditiveExpression) & 31
- *
- * @path ch11/11.7/11.7.2/S11.7.2_A5.2_T1.js
- * @description Checking distinct points
- */
+/*---
+info: Operator x >> y uses ToUint32(AdditiveExpression) & 31
+description: Checking distinct points
+---*/
//CHECK#1
if (2147483647 >> -32.1 !== 2147483647) {
@@ -326,5 +324,4 @@ if (2147483647 >> 62.1 !== 1) {
//CHECK#64
if (2147483647 >> 63.1 !== 0) {
$ERROR('#64: 2147483647 >> 63.1 === 0. Actual: ' + (2147483647 >> 63.1));
-}
-
+}