23 var array1 = [o, p, q];
24 var array2 = [o, null];
25 var expecteds = [true,"yes","yes",false,"no","no",false,"no","no",false,"no","no",false,"no","no",false,"no","no"];
27 var expectedsIndex = 0;
29 function dostuff(result) {
30 if (result == expecteds[expectedsIndex % expecteds.length]) {
35 print("Bad result with a = " + a + ", b = " + b + ": wanted " + expecteds[expectedsIndex % expecteds.length] + " but got " + result);
39 for (var i = 0; i < 100000; ++i) {
40 var a = array1[i % array1.length];
41 var b = array2[i % array2.length];