| //@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py |
| var expecteds = [true,"yes","yes",false,"no","no",false,"no","no",false,"no","no",false,"no","no",false,"no","no"]; |
| function dostuff(result) { |
| if (result == expecteds[expectedsIndex % expecteds.length]) { |
| print("Bad result with a = " + a + ", b = " + b + ": wanted " + expecteds[expectedsIndex % expecteds.length] + " but got " + result); |
| for (var i = 0; i < 100000; ++i) { |
| var a = array1[i % array1.length]; |
| var b = array2[i % array2.length]; |