var x = 0; var y = 0; var errorMessage; var reason = ""; var passed = true;  for (x = -(2 + a.length); x <= (2 + a.length); x++) for (y = (2 + a.length); y >= -(2 + a.length); y--) { var b  = a.slice(x,y); var c = mySlice(a,x,y);  if (String(b) != String(c)) { errorMessage = "ERROR: 'TEST FAILED' ERROR: 'TEST FAILED' ERROR: 'TEST FAILED'\n" + "            test: " + "a.slice(" + x + "," + y + ")\n" + "               a: " + String(a) + "\n" + "   actual result: " + String(b) + "\n" + " expected result: " + String(c) + "\n"; writeHeaderToLog(errorMessage); reason = reason + errorMessage; passed = false; } } var testCase = new TestCase(SECTION, testname, true, passed); if (passed == false) testCase.reason = reason; return testCase; 
var x = 0; var y = 0; var errorMessage; var reason = ""; var passed = true;  for (x = -(2 + a.length); x <= (2 + a.length); x++) for (y = (2 + a.length); y >= -(2 + a.length); y--) { var b  = a.slice(x,y); var c = mySlice(a,x,y);  if (String(b) != String(c)) { errorMessage = "ERROR: 'TEST FAILED' ERROR: 'TEST FAILED' ERROR: 'TEST FAILED'\n" + "            test: " + "a.slice(" + x + "," + y + ")\n" + "               a: " + String(a) + "\n" + "   actual result: " + String(b) + "\n" + " expected result: " + String(c) + "\n"; writeHeaderToLog(errorMessage); reason = reason + errorMessage; passed = false; } } var testCase = new TestCase(SECTION, testname, true, passed); if (passed == false) testCase.reason = reason; return testCase; 
function exhaustiveSliceTest(testname, a){    var x = 0;    var y = 0;    var errorMessage;    var reason = "";    var passed = true;	    for (x = -(2 + a.length); x <= (2 + a.length); x++)	for (y = (2 + a.length); y >= -(2 + a.length); y--)	{	    var b  = a.slice(x,y);	    var c = mySlice(a,x,y);		    if (String(b) != String(c))	    {		errorMessage =		    "ERROR: 'TEST FAILED' ERROR: 'TEST FAILED' ERROR: 'TEST FAILED'\n" +		    "            test: " + "a.slice(" + x + "," + y + ")\n" +		    "               a: " + String(a) + "\n" +		    "   actual result: " + String(b) + "\n" +		    " expected result: " + String(c) + "\n";		writeHeaderToLog(errorMessage);		reason = reason + errorMessage;		passed = false;	    }	}    var testCase = new TestCase(SECTION, testname, true, passed);    if (passed == false)	testCase.reason = reason;    return testCase;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/slice.js/clean/js/tests/js1_2/Array/slice.js