summaryrefslogtreecommitdiff
path: root/test/built-ins/Math/LN10
diff options
context:
space:
mode:
authorMike Pennisi <mike@mikepennisi.com>2016-03-11 10:25:06 -0500
committerLeonardo Balter <leonardo.balter@gmail.com>2016-04-18 14:36:49 -0400
commitf7aa31b41faee25823bb38b7ca53b104cf53debd (patch)
tree77c381ebfcbb84e8f186ba59c397b5e1443eca27 /test/built-ins/Math/LN10
parent26676beab53410703ac51c4a44e89e5566265341 (diff)
downloadqtdeclarative-testsuites-f7aa31b41faee25823bb38b7ca53b104cf53debd.tar.gz
Remove over-specified tests
Except for a small set of expected input/output pairs, both ES5 and ES2015 define the expected return value of these methods in terms of an "implementation-dependent approximation." This makes it inappropriate to enforce expectations for specific values, even if expressed imprecisely.
Diffstat (limited to 'test/built-ins/Math/LN10')
-rw-r--r--test/built-ins/Math/LN10/S15.8.1.2_A1.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/built-ins/Math/LN10/S15.8.1.2_A1.js b/test/built-ins/Math/LN10/S15.8.1.2_A1.js
deleted file mode 100644
index a9cafbb30..000000000
--- a/test/built-ins/Math/LN10/S15.8.1.2_A1.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-info: Math.LN10 is approximately 2.302585092994046
-es5id: 15.8.1.2_A1
-description: Comparing Math.LN10 with 2.302585092994046
-includes:
- - math_precision.js
- - math_isequal.js
----*/
-
-// CHECK#1
-if (!isEqual(Math.LN10, 2.302585092994046)) {
- $ERROR('#1: \'Math.LN10 is not approximately equal to 2.302585092994046\'');
-}