aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js46
1 files changed, 0 insertions, 46 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js b/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js
deleted file mode 100644
index 79eb23119..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.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.5.3_A3_T1.1;
- * @section: 11.5.3;
- * @assertion: Operator x % y returns ToNumber(x) % ToNumber(y);
- * @description: Type(x) and Type(y) vary between primitive boolean and Boolean object;
- */
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.5.3_A3_T1.1",
-
-path: "TestCases/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A3_T1.1.js",
-
-assertion: "Operator x % y returns ToNumber(x) % ToNumber(y)",
-
-description: "Type(x) and Type(y) vary between primitive boolean and Boolean object",
-
-test: function testcase() {
- //CHECK#1
-if (true % true !== 0) {
- $ERROR('#1: true % true === 0. Actual: ' + (true % true));
-}
-
-//CHECK#2
-if (new Boolean(true) % true !== 0) {
- $ERROR('#2: new Boolean(true) % true === 0. Actual: ' + (new Boolean(true) % true));
-}
-
-//CHECK#3
-if (true % new Boolean(true) !== 0) {
- $ERROR('#3: true % new Boolean(true) === 0. Actual: ' + (true % new Boolean(true)));
-}
-
-//CHECK#4
-if (new Boolean(true) % new Boolean(true) !== 0) {
- $ERROR('#4: new Boolean(true) % new Boolean(true) === 0. Actual: ' + (new Boolean(true) % new Boolean(true)));
-}
-
- }
-});
-