mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Merge.
This commit is contained in:
commit
0ceb399b55
@ -437,6 +437,17 @@ function orTestHelper(a, b, n)
|
||||
return k;
|
||||
}
|
||||
|
||||
var orNaNTest1, orNaNTest2;
|
||||
|
||||
orNaNTest1 = new Function("return orTestHelper(NaN, NaN, 10);");
|
||||
orNaNTest1.name = 'orNaNTest1';
|
||||
orNaNTest1.expected = '0';
|
||||
orNaNTest2 = new Function("return orTestHelper(NaN, 1, 10);");
|
||||
orNaNTest2.name = 'orNaNTest2';
|
||||
orNaNTest2.expected = '45';
|
||||
test(orNaNTest1);
|
||||
test(orNaNTest2);
|
||||
|
||||
function andTestHelper(a, b, n)
|
||||
{
|
||||
var k = 0;
|
||||
@ -633,6 +644,7 @@ function joinTest()
|
||||
joinTest.expected = "a,0,1,2,3,4,5,6,7b,0,1,2,3,4,5,6,7c,0,1,2,3,4,5,6,7d,0,1,2,3,4,5,6,7e,0,1,2,3,4,5,6,7f,0,1,2,3,4,5,6,7g,0,1,2,3,4,5,6,7h,0,1,2,3,4,5,6,7";
|
||||
test(joinTest);
|
||||
|
||||
|
||||
/* 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