Piotr Caban : jscript: Added Math_LN2 tests.
Module: wine Branch: master Commit: 885a9e9c0c3c7b339afcb321ec718bd341129b61 URL: http://source.winehq.org/git/wine.git/?a=commit;h=885a9e9c0c3c7b339afcb321ec... Author: Piotr Caban <piotr.caban(a)gmail.com> Date: Thu Apr 2 19:55:13 2009 +0200 jscript: Added Math_LN2 tests. --- dlls/jscript/tests/api.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/dlls/jscript/tests/api.js b/dlls/jscript/tests/api.js index f370098..310884a 100644 --- a/dlls/jscript/tests/api.js +++ b/dlls/jscript/tests/api.js @@ -640,4 +640,9 @@ ok(Math.floor(Math.LOG10E*100) === 43, "Math.LOG10E = " + Math.LOG10E); Math.LOG10E = "test"; ok(Math.floor(Math.LOG10E*100) === 43, "modified Math.LOG10E = " + Math.LOG10E); +ok(typeof(Math.LN2) === "number", "typeof(Math.LN2) = " + typeof(Math.LN2)); +ok(Math.floor(Math.LN2*100) === 69, "Math.LN2 = " + Math.LN2); +Math.LN2 = "test"; +ok(Math.floor(Math.LN2*100) === 69, "modified Math.LN2 = " + Math.LN2); + reportSuccess();
participants (1)
-
Alexandre Julliard