mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
12 lines
235 B
JavaScript
12 lines
235 B
JavaScript
count = 0;
|
|
|
|
function verify(a, b)
|
|
{
|
|
if ((a == b) || ((b != b) && (a == undefined)) )
|
|
print("Test " + count + " succeeded");
|
|
else
|
|
print("Test " + count + " failed, expected " + b + ", got " + a);
|
|
count++;
|
|
}
|
|
|