mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Test case for bug 452340.
This commit is contained in:
parent
e326b78b55
commit
357f1d4e64
@ -972,6 +972,17 @@ function testArrayDensityChange() {
|
||||
testArrayDensityChange.expected = 404;
|
||||
test(testArrayDensityChange);
|
||||
|
||||
function testDoubleToStr() {
|
||||
var x = 0.0;
|
||||
var y = 5.5;
|
||||
for (var i = 0; i < 200; i++) {
|
||||
x += parseFloat(y.toString());
|
||||
}
|
||||
return x;
|
||||
}
|
||||
testDoubleToStr.expected = 5.5*200;
|
||||
test(testDoubleToStr);
|
||||
|
||||
/* Keep these at the end so that we can see the summary after the trace-debug spew. */
|
||||
print("\npassed:", passes.length && passes.join(","));
|
||||
print("\nFAILED:", fails.length && fails.join(","));
|
||||
|
Loading…
Reference in New Issue
Block a user