aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js b/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js
deleted file mode 100644
index 66bb71412..000000000
--- a/test/suite/sputnik_converted/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js
+++ /dev/null
@@ -1,38 +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.7.5_A1_T05;
- * @section: 15.7.5;
- * @assertion: Number instances have no special properties beyond those
- * inherited from the Number prototype object;
- * @description: Checking property toFixed;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.7.5_A1_T05",
-
-path: "TestCases/15_Native/15.7_Number_Objects/15.7.5_Properties_of_Number_Instances/S15.7.5_A1_T05.js",
-
-assertion: "Number instances have no special properties beyond those",
-
-description: "Checking property toFixed",
-
-test: function testcase() {
- //CHECK#1
-if((new Number()).hasOwnProperty("toFixed") !== false){
- $ERROR('#1: Number instance must have no special property "toFixed"');
-}
-
-//CHECK#2
-if((new Number()).toFixed !== Number.prototype.toFixed){
- $ERROR('#2: Number instance property "toFixed" must be inherited from Number prototype object');
-}
-
-
- }
-});
-