aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js')
-rw-r--r--test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js61
1 files changed, 0 insertions, 61 deletions
diff --git a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js b/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js
deleted file mode 100644
index 7cdb45e37..000000000
--- a/test/suite/sputnik_converted/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js
+++ /dev/null
@@ -1,61 +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.1.2.3_A5_T4;
- * @section: 15.1.2.3, 9.3.1;
- * @assertion: Return the number value for the MV of Result(4);
- * @description: Checking DecimalDigits ExponentPart_opt;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S15.1.2.3_A5_T4",
-
-path: "TestCases/15_Native/15.1_The_Global_Object/15.1.2_Function_Properties_of_the_Global_Object/15.1.2.3_parseFloat/S15.1.2.3_A5_T4.js",
-
-assertion: "Return the number value for the MV of Result(4)",
-
-description: "Checking DecimalDigits ExponentPart_opt",
-
-test: function testcase() {
- //CHECK#1
-if (parseFloat("-11") !== -11) {
- $ERROR('#1: parseFloat("-11") === -11. Actual: ' + (parseFloat("-11")));
-}
-
-//CHECK#2
-if (parseFloat("01") !== 1) {
- $ERROR('#2: parseFloat("01") === 1. Actual: ' + (parseFloat("01")));
-}
-
-//CHECK#3
-if (parseFloat("-11e-1") !== -1.1) {
- $ERROR('#3: parseFloat("-11e-1") === -1.1. Actual: ' + (parseFloat("-11e-1")));
-}
-
-//CHECK#4
-if (parseFloat("01e1") !== 10) {
- $ERROR('#4: parseFloat("01e1") === 10. Actual: ' + (parseFloat("01e1")));
-}
-
-//CHECK#5
-if (parseFloat("001") !== 1) {
- $ERROR('#5: parseFloat("001") === 1. Actual: ' + (parseFloat("001")));
-}
-
-//CHECK#6
-if (parseFloat("1e001") !== 10) {
- $ERROR('#6: parseFloat("1e001") === 10. Actual: ' + (parseFloat("1e001")));
-}
-
-//CHECK#7
-if (parseFloat("010") !== 10) {
- $ERROR('#7: parseFloat("010") === 10. Actual: ' + (parseFloat("010")));
-}
-
- }
-});
-