aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js57
1 files changed, 0 insertions, 57 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js b/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js
deleted file mode 100644
index 9380bfd56..000000000
--- a/test/suite/sputnik_converted/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S15.6.4.3_A1_T1;
- * @section: 15.6.4.3;
- * @assertion: Boolean.prototype.valueOf() returns this boolean value;
- * @description: no arguments;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.6.4.3_A1_T1",
-
-path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.3_A1_T1.js",
-
-assertion: "Boolean.prototype.valueOf() returns this boolean value",
-
-description: "no arguments",
-
-test: function testcase() {
- //CHECK#1
-if(Boolean.prototype.valueOf() !== false){
- $ERROR('#1: Boolean.prototype.valueOf() === false');
-}
-
-//CHECK#2
-if((new Boolean()).valueOf() !== false){
- $ERROR('#2: (new Boolean()).valueOf() === false');
-}
-
-//CHECK#3
-if((new Boolean(0)).valueOf() !== false){
- $ERROR('#3: (new Boolean(0)).valueOf() === false');
-}
-
-//CHECK#4
-if((new Boolean(-1)).valueOf() !== true){
- $ERROR('#4: (new Boolean(-1)).valueOf() === true');
-}
-
-//CHECK#5
-if((new Boolean(1)).valueOf() !== true){
- $ERROR('#5: (new Boolean(1)).valueOf() === true');
-}
-
-//CHECK#6
-if((new Boolean(new Object())).valueOf() !== true){
- $ERROR('#6: (new Boolean(new Object())).valueOf() === true');
-}
-
-
- }
-});
-