1 # Copyright 2013 the V8 project authors. All rights reserved. 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 3 # 4 # Redistribution and use in source and binary forms, with or without 5 # modification, are permitted provided that the following conditions 6 # are met: 7 # 1. Redistributions of source code must retain the above copyright 8 # notice, this list of conditions and the following disclaimer. 9 # 2. Redistributions in binary form must reproduce the above copyright 10 # notice, this list of conditions and the following disclaimer in the 11 # documentation and/or other materials provided with the distribution. 12 # 13 # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY 14 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 15 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 16 # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY 17 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 18 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 19 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 20 # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 22 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 24 Tests that a dead use of Math.min(a,b) at least speculates that its arguments are indeed numbers. 25 26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 27 28 29 PASS result is 100 30 PASS result is 100 31 PASS result is 100 32 PASS result is 100 33 PASS result is 100 34 PASS result is 100 35 PASS result is 100 36 PASS result is 100 37 PASS result is 100 38 PASS result is 100 39 PASS result is 100 40 PASS result is 100 41 PASS result is 100 42 PASS result is 100 43 PASS result is 100 44 PASS result is 100 45 PASS result is 100 46 PASS result is 100 47 PASS result is 100 48 PASS result is 100 49 PASS result is 100 50 PASS result is 100 51 PASS result is 100 52 PASS result is 100 53 PASS result is 100 54 PASS result is 100 55 PASS result is 100 56 PASS result is 100 57 PASS result is 100 58 PASS result is 100 59 PASS result is 100 60 PASS result is 100 61 PASS result is 100 62 PASS result is 100 63 PASS result is 100 64 PASS result is 100 65 PASS result is 100 66 PASS result is 100 67 PASS result is 100 68 PASS result is 100 69 PASS result is 100 70 PASS result is 100 71 PASS result is 100 72 PASS result is 100 73 PASS result is 100 74 PASS result is 100 75 PASS result is 100 76 PASS result is 100 77 PASS result is 100 78 PASS result is 100 79 PASS result is 100 80 PASS result is 100 81 PASS result is 100 82 PASS result is 100 83 PASS result is 100 84 PASS result is 100 85 PASS result is 100 86 PASS result is 100 87 PASS result is 100 88 PASS result is 100 89 PASS result is 100 90 PASS result is 100 91 PASS result is 100 92 PASS result is 100 93 PASS result is 100 94 PASS result is 100 95 PASS result is 100 96 PASS result is 100 97 PASS result is 100 98 PASS result is 100 99 PASS result is 100 100 PASS result is 100 101 PASS result is 100 102 PASS result is 100 103 PASS result is 100 104 PASS result is 100 105 PASS result is 100 106 PASS result is 100 107 PASS result is 100 108 PASS result is 100 109 PASS result is 100 110 PASS result is 100 111 PASS result is 100 112 PASS result is 100 113 PASS result is 100 114 PASS result is 100 115 PASS result is 100 116 PASS result is 100 117 PASS result is 100 118 PASS result is 100 119 PASS result is 100 120 PASS result is 100 121 PASS result is 100 122 PASS result is 100 123 PASS result is 100 124 PASS result is 100 125 PASS result is 100 126 PASS result is 100 127 PASS result is 100 128 PASS result is 100 129 PASS result is 100 130 PASS result is 100 131 PASS result is 100 132 PASS result is 100 133 PASS result is 100 134 PASS result is 100 135 PASS result is 100 136 PASS result is 100 137 PASS result is 100 138 PASS result is 100 139 PASS result is 100 140 PASS result is 100 141 PASS result is 100 142 PASS result is 100 143 PASS result is 100 144 PASS result is 100 145 PASS result is 100 146 PASS result is 100 147 PASS result is 100 148 PASS result is 100 149 PASS result is 100 150 PASS result is 100 151 PASS result is 100 152 PASS result is 100 153 PASS result is 100 154 PASS result is 100 155 PASS result is 100 156 PASS result is 100 157 PASS result is 100 158 PASS result is 100 159 PASS result is 100 160 PASS result is 100 161 PASS result is 100 162 PASS result is 100 163 PASS result is 100 164 PASS result is 100 165 PASS result is 100 166 PASS result is 100 167 PASS result is 100 168 PASS result is 100 169 PASS result is 100 170 PASS result is 100 171 PASS result is 100 172 PASS result is 100 173 PASS result is 100 174 PASS result is 100 175 PASS result is 100 176 PASS result is 100 177 PASS result is 100 178 PASS result is 100 179 PASS ok is 150 180 PASS result is 100 181 PASS ok is 151 182 PASS result is 100 183 PASS ok is 152 184 PASS result is 100 185 PASS ok is 153 186 PASS result is 100 187 PASS ok is 154 188 PASS result is 100 189 PASS ok is 155 190 PASS result is 100 191 PASS ok is 156 192 PASS result is 100 193 PASS ok is 157 194 PASS result is 100 195 PASS ok is 158 196 PASS result is 100 197 PASS ok is 159 198 PASS result is 100 199 PASS ok is 160 200 PASS result is 100 201 PASS ok is 161 202 PASS result is 100 203 PASS ok is 162 204 PASS result is 100 205 PASS ok is 163 206 PASS result is 100 207 PASS ok is 164 208 PASS result is 100 209 PASS ok is 165 210 PASS result is 100 211 PASS ok is 166 212 PASS result is 100 213 PASS ok is 167 214 PASS result is 100 215 PASS ok is 168 216 PASS result is 100 217 PASS ok is 169 218 PASS result is 100 219 PASS ok is 170 220 PASS result is 100 221 PASS ok is 171 222 PASS result is 100 223 PASS ok is 172 224 PASS result is 100 225 PASS ok is 173 226 PASS result is 100 227 PASS ok is 174 228 PASS result is 100 229 PASS ok is 175 230 PASS result is 100 231 PASS ok is 176 232 PASS result is 100 233 PASS ok is 177 234 PASS result is 100 235 PASS ok is 178 236 PASS result is 100 237 PASS ok is 179 238 PASS result is 100 239 PASS ok is 180 240 PASS result is 100 241 PASS ok is 181 242 PASS result is 100 243 PASS ok is 182 244 PASS result is 100 245 PASS ok is 183 246 PASS result is 100 247 PASS ok is 184 248 PASS result is 100 249 PASS ok is 185 250 PASS result is 100 251 PASS ok is 186 252 PASS result is 100 253 PASS ok is 187 254 PASS result is 100 255 PASS ok is 188 256 PASS result is 100 257 PASS ok is 189 258 PASS result is 100 259 PASS ok is 190 260 PASS result is 100 261 PASS ok is 191 262 PASS result is 100 263 PASS ok is 192 264 PASS result is 100 265 PASS ok is 193 266 PASS result is 100 267 PASS ok is 194 268 PASS result is 100 269 PASS ok is 195 270 PASS result is 100 271 PASS ok is 196 272 PASS result is 100 273 PASS ok is 197 274 PASS result is 100 275 PASS ok is 198 276 PASS result is 100 277 PASS ok is 199 278 PASS result is 100 279 PASS result is 100 280 PASS result is 100 281 PASS result is 100 282 PASS result is 100 283 PASS result is 100 284 PASS result is 100 285 PASS result is 100 286 PASS result is 100 287 PASS result is 100 288 PASS result is 100 289 PASS result is 100 290 PASS result is 100 291 PASS result is 100 292 PASS result is 100 293 PASS result is 100 294 PASS result is 100 295 PASS result is 100 296 PASS result is 100 297 PASS result is 100 298 PASS result is 100 299 PASS result is 100 300 PASS result is 100 301 PASS result is 100 302 PASS result is 100 303 PASS result is 100 304 PASS result is 100 305 PASS result is 100 306 PASS result is 100 307 PASS result is 100 308 PASS result is 100 309 PASS result is 100 310 PASS result is 100 311 PASS result is 100 312 PASS result is 100 313 PASS result is 100 314 PASS result is 100 315 PASS result is 100 316 PASS result is 100 317 PASS result is 100 318 PASS result is 100 319 PASS result is 100 320 PASS result is 100 321 PASS result is 100 322 PASS result is 100 323 PASS result is 100 324 PASS result is 100 325 PASS result is 100 326 PASS result is 100 327 PASS result is 100 328 PASS result is 100 329 PASS result is 100 330 PASS result is 100 331 PASS result is 100 332 PASS result is 100 333 PASS result is 100 334 PASS result is 100 335 PASS result is 100 336 PASS result is 100 337 PASS result is 100 338 PASS result is 100 339 PASS result is 100 340 PASS result is 100 341 PASS result is 100 342 PASS result is 100 343 PASS result is 100 344 PASS result is 100 345 PASS result is 100 346 PASS result is 100 347 PASS result is 100 348 PASS result is 100 349 PASS result is 100 350 PASS result is 100 351 PASS result is 100 352 PASS result is 100 353 PASS result is 100 354 PASS result is 100 355 PASS result is 100 356 PASS result is 100 357 PASS result is 100 358 PASS result is 100 359 PASS result is 100 360 PASS result is 100 361 PASS result is 100 362 PASS result is 100 363 PASS result is 100 364 PASS result is 100 365 PASS result is 100 366 PASS result is 100 367 PASS result is 100 368 PASS result is 100 369 PASS result is 100 370 PASS result is 100 371 PASS result is 100 372 PASS result is 100 373 PASS result is 100 374 PASS result is 100 375 PASS result is 100 376 PASS result is 100 377 PASS result is 100 378 PASS result is 100 379 PASS result is 100 380 PASS result is 100 381 PASS result is 100 382 PASS result is 100 383 PASS result is 100 384 PASS result is 100 385 PASS result is 100 386 PASS result is 100 387 PASS result is 100 388 PASS result is 100 389 PASS result is 100 390 PASS result is 100 391 PASS result is 100 392 PASS result is 100 393 PASS result is 100 394 PASS result is 100 395 PASS result is 100 396 PASS result is 100 397 PASS result is 100 398 PASS result is 100 399 PASS result is 100 400 PASS result is 100 401 PASS result is 100 402 PASS result is 100 403 PASS result is 100 404 PASS result is 100 405 PASS result is 100 406 PASS result is 100 407 PASS result is 100 408 PASS result is 100 409 PASS result is 100 410 PASS result is 100 411 PASS result is 100 412 PASS result is 100 413 PASS result is 100 414 PASS result is 100 415 PASS result is 100 416 PASS result is 100 417 PASS result is 100 418 PASS result is 100 419 PASS result is 100 420 PASS result is 100 421 PASS result is 100 422 PASS result is 100 423 PASS result is 100 424 PASS result is 100 425 PASS result is 100 426 PASS result is 100 427 PASS result is 100 428 PASS result is 100 429 PASS ok is 150 430 PASS result is 100 431 PASS ok is 151 432 PASS result is 100 433 PASS ok is 152 434 PASS result is 100 435 PASS ok is 153 436 PASS result is 100 437 PASS ok is 154 438 PASS result is 100 439 PASS ok is 155 440 PASS result is 100 441 PASS ok is 156 442 PASS result is 100 443 PASS ok is 157 444 PASS result is 100 445 PASS ok is 158 446 PASS result is 100 447 PASS ok is 159 448 PASS result is 100 449 PASS ok is 160 450 PASS result is 100 451 PASS ok is 161 452 PASS result is 100 453 PASS ok is 162 454 PASS result is 100 455 PASS ok is 163 456 PASS result is 100 457 PASS ok is 164 458 PASS result is 100 459 PASS ok is 165 460 PASS result is 100 461 PASS ok is 166 462 PASS result is 100 463 PASS ok is 167 464 PASS result is 100 465 PASS ok is 168 466 PASS result is 100 467 PASS ok is 169 468 PASS result is 100 469 PASS ok is 170 470 PASS result is 100 471 PASS ok is 171 472 PASS result is 100 473 PASS ok is 172 474 PASS result is 100 475 PASS ok is 173 476 PASS result is 100 477 PASS ok is 174 478 PASS result is 100 479 PASS ok is 175 480 PASS result is 100 481 PASS ok is 176 482 PASS result is 100 483 PASS ok is 177 484 PASS result is 100 485 PASS ok is 178 486 PASS result is 100 487 PASS ok is 179 488 PASS result is 100 489 PASS ok is 180 490 PASS result is 100 491 PASS ok is 181 492 PASS result is 100 493 PASS ok is 182 494 PASS result is 100 495 PASS ok is 183 496 PASS result is 100 497 PASS ok is 184 498 PASS result is 100 499 PASS ok is 185 500 PASS result is 100 501 PASS ok is 186 502 PASS result is 100 503 PASS ok is 187 504 PASS result is 100 505 PASS ok is 188 506 PASS result is 100 507 PASS ok is 189 508 PASS result is 100 509 PASS ok is 190 510 PASS result is 100 511 PASS ok is 191 512 PASS result is 100 513 PASS ok is 192 514 PASS result is 100 515 PASS ok is 193 516 PASS result is 100 517 PASS ok is 194 518 PASS result is 100 519 PASS ok is 195 520 PASS result is 100 521 PASS ok is 196 522 PASS result is 100 523 PASS ok is 197 524 PASS result is 100 525 PASS ok is 198 526 PASS result is 100 527 PASS ok is 199 528 PASS result is 100 529 PASS successfullyParsed is true 530 531 TEST COMPLETE 532 533