jscript: Added Math_LN2 tests.

This commit is contained in:
Piotr Caban 2009-04-02 19:55:13 +02:00 committed by Alexandre Julliard
parent d2aed1b752
commit 885a9e9c0c
1 changed files with 5 additions and 0 deletions

View File

@ -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();