function reportCompare (expected, actual, description) { 
function reportCompare (expected, actual, description) { 
function reportCompare (expected, actual, description){  var expected_t = typeof expected;  var actual_t = typeof actual;  var output = "";     if ((VERBOSE) && (typeof description != "undefined"))    printStatus ("Comparing '" + description + "'");  if (expected_t != actual_t)  {    output += "Type mismatch, expected type " + expected_t +      ", actual type " + actual_t + " ";  }  else if (VERBOSE)  {    printStatus ("Expected type '" + actual_t + "' matched actual " +		 "type '" + expected_t + "'");  }  if (expected != actual)  {    output += "Expected value '" + toPrinted(expected) +      "', Actual value '" + toPrinted(actual) + "' ";  }  else if (VERBOSE)  {    printStatus ("Expected value '" + toPrinted(actual) +                 "' matched actual value '" + toPrinted(expected) + "'");  }  if (typeof description == "undefined")    description = '';     var testcase = new TestCase(gTestfile, description, expected, actual);  testcase.reason = output;   if (testcase.passed)  {    print('PASSED! ' + description);  }  else  {    reportFailure (output);    }  return testcase.passed;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/95b8b76815e479bfa2b2ccec359469b2ff7ca741/shell.js/buggy/js/tests/shell.js