1 /* 2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 /** 25 * @test 26 * @bug 8210215 27 * @summary Test that C2 correctly optimizes trichotomy expressions. 28 * @library /test/lib 29 * @run main/othervm -XX:-TieredCompilation -Xbatch 30 * -XX:CompileCommand=dontinline,compiler.codegen.TestTrichotomyExpressions::test* 31 * compiler.codegen.TestTrichotomyExpressions 32 * @run main/othervm -XX:-TieredCompilation -Xcomp 33 * -XX:CompileCommand=dontinline,compiler.codegen.TestTrichotomyExpressions::test* 34 * compiler.codegen.TestTrichotomyExpressions 35 */ 36 37 package compiler.codegen; 38 39 import java.lang.annotation.ElementType; 40 import java.lang.annotation.Retention; 41 import java.lang.annotation.RetentionPolicy; 42 import java.lang.annotation.Target; 43 import java.lang.reflect.Method; 44 import java.util.Random; 45 46 import jdk.test.lib.Asserts; 47 import jdk.test.lib.Utils; 48 49 enum Operation { SMALLER, SMALLER_EQUAL, EQUAL, GREATER_EQUAL, GREATER, ALWAYS_FALSE } 50 51 @Retention(RetentionPolicy.RUNTIME) 52 @Target(ElementType.METHOD) 53 @interface Test { 54 Operation op(); 55 } 56 57 public class TestTrichotomyExpressions { 58 59 public static int compare1(int a, int b) { 60 return (a < b) ? -1 : (a == b) ? 0 : 1; 61 } 62 63 public static int compare2(int a, int b) { 64 return (a < b) ? -1 : (a <= b) ? 0 : 1; 65 } 66 67 public static int compare3(int a, int b) { 68 return (a < b) ? -1 : (a > b) ? 1 : 0; 69 } 70 71 public static int compare4(int a, int b) { 72 return (a < b) ? -1 : (a != b) ? 1 : 0; 73 } 74 75 public static int compare5(int a, int b) { 76 return (a > b) ? 1 : (a < b) ? -1 : 0; 77 } 78 79 public static int compare6(int a, int b) { 80 return (a > b) ? 1 : (a == b) ? 0 : -1; 81 } 82 83 public static int compare7(int a, int b) { 84 return (a > b) ? 1 : (a >= b) ? 0 : -1; 85 } 86 87 public static int compare8(int a, int b) { 88 return (a > b) ? 1 : (a != b) ? -1 : 0; 89 } 90 91 public static int compare9(int a, int b) { 92 return (a == b) ? 0 : (a < b) ? -1 : 1; 93 } 94 95 public static int compare10(int a, int b) { 96 return (a == b) ? 0 : (a <= b) ? -1 : 1; 97 } 98 99 public static int compare11(int a, int b) { 100 return (a == b) ? 0 : (a > b) ? 1 : -1; 101 } 102 103 public static int compare12(int a, int b) { 104 return (a == b) ? 0 : (a >= b) ? 1 : -1; 105 } 106 107 public static int compare13(int a, int b) { 108 return (a <= b) ? ((a == b) ? 0 : -1) : 1; 109 } 110 111 public static int compare14(int a, int b) { 112 return (a <= b) ? ((a < b) ? -1 : 0) : 1; 113 } 114 115 public static int compare15(int a, int b) { 116 return (a <= b) ? ((a >= b) ? 0 : -1) : 1; 117 } 118 119 public static int compare16(int a, int b) { 120 return (a <= b) ? ((a != b) ? -1 : 0) : 1; 121 } 122 123 public static int compare17(int a, int b) { 124 return (a >= b) ? ((a <= b) ? 0 : 1) : -1; 125 } 126 127 public static int compare18(int a, int b) { 128 return (a >= b) ? ((a == b) ? 0 : 1) : -1; 129 } 130 131 public static int compare19(int a, int b) { 132 return (a >= b) ? ((a > b) ? 1 : 0) : -1; 133 } 134 135 public static int compare20(int a, int b) { 136 return (a >= b) ? ((a != b) ? 1 : 0) : -1; 137 } 138 139 public static int compare21(int a, int b) { 140 return (a != b) ? ((a < b) ? -1 : 1) : 0; 141 } 142 143 public static int compare22(int a, int b) { 144 return (a != b) ? ((a <= b) ? -1 : 1) : 0; 145 } 146 147 public static int compare23(int a, int b) { 148 return (a != b) ? ((a > b) ? 1 : -1) : 0; 149 } 150 151 public static int compare24(int a, int b) { 152 return (a != b) ? ((a >= b) ? 1 : -1) : 0; 153 } 154 155 public static int compare25(int a, int b) { 156 return (a < b) ? -1 : (b == a) ? 0 : 1; 157 } 158 159 public static int compare26(int a, int b) { 160 return (a < b) ? -1 : (b >= a) ? 0 : 1; 161 } 162 163 public static int compare27(int a, int b) { 164 return (a < b) ? -1 : (b < a) ? 1 : 0; 165 } 166 167 public static int compare28(int a, int b) { 168 return (a < b) ? -1 : (b != a) ? 1 : 0; 169 } 170 171 public static int compare29(int a, int b) { 172 return (a > b) ? 1 : (b > a) ? -1 : 0; 173 } 174 175 public static int compare30(int a, int b) { 176 return (a > b) ? 1 : (b == a) ? 0 : -1; 177 } 178 179 public static int compare31(int a, int b) { 180 return (a > b) ? 1 : (b <= a) ? 0 : -1; 181 } 182 183 public static int compare32(int a, int b) { 184 return (a > b) ? 1 : (b != a) ? -1 : 0; 185 } 186 187 public static int compare33(int a, int b) { 188 return (a == b) ? 0 : (b > a) ? -1 : 1; 189 } 190 191 public static int compare34(int a, int b) { 192 return (a == b) ? 0 : (b >= a) ? -1 : 1; 193 } 194 195 public static int compare35(int a, int b) { 196 return (a == b) ? 0 : (b < a) ? 1 : -1; 197 } 198 199 public static int compare36(int a, int b) { 200 return (a == b) ? 0 : (b <= a) ? 1 : -1; 201 } 202 203 public static int compare37(int a, int b) { 204 return (a <= b) ? ((b == a) ? 0 : -1) : 1; 205 } 206 207 public static int compare38(int a, int b) { 208 return (a <= b) ? ((b > a) ? -1 : 0) : 1; 209 } 210 211 public static int compare39(int a, int b) { 212 return (a <= b) ? ((b <= a) ? 0 : -1) : 1; 213 } 214 215 public static int compare40(int a, int b) { 216 return (a <= b) ? ((b != a) ? -1 : 0) : 1; 217 } 218 219 public static int compare41(int a, int b) { 220 return (a >= b) ? ((b >= a) ? 0 : 1) : -1; 221 } 222 223 public static int compare42(int a, int b) { 224 return (a >= b) ? ((b == a) ? 0 : 1) : -1; 225 } 226 227 public static int compare43(int a, int b) { 228 return (a >= b) ? ((b < a) ? 1 : 0) : -1; 229 } 230 231 public static int compare44(int a, int b) { 232 return (a >= b) ? ((b != a) ? 1 : 0) : -1; 233 } 234 235 public static int compare45(int a, int b) { 236 return (a != b) ? ((b > a) ? -1 : 1) : 0; 237 } 238 239 public static int compare46(int a, int b) { 240 return (a != b) ? ((b >= a) ? -1 : 1) : 0; 241 } 242 243 public static int compare47(int a, int b) { 244 return (a != b) ? ((b < a) ? 1 : -1) : 0; 245 } 246 247 public static int compare48(int a, int b) { 248 return (a != b) ? ((b <= a) ? 1 : -1) : 0; 249 } 250 251 252 public static int compareAlwaysFalse1(int a, int b) { 253 return (a >= b) ? 1 : (a > b) ? 2 : -1; 254 } 255 256 public static int compareAlwaysFalse2(int a, int b) { 257 return (a <= b) ? 1 : (a < b) ? 2 : -1; 258 } 259 260 public static int compareAlwaysFalse3(int a, int b) { 261 return (a == b) ? 1 : (a == b) ? 2 : -1; 262 } 263 264 public static int compareAlwaysFalse4(int a, int b) { 265 return (a != b) ? 1 : (a < b) ? 2 : -1; 266 } 267 268 @Test(op = Operation.SMALLER) 269 public static boolean testSmaller1(int a, int b) { 270 return compare1(a, b) == -1; 271 } 272 273 @Test(op = Operation.SMALLER) 274 public static boolean testSmaller2(int a, int b) { 275 return compare1(a, b) < 0; 276 } 277 278 @Test(op = Operation.SMALLER) 279 public static boolean testSmaller3(int a, int b) { 280 return compare1(a, b) <= -1; 281 } 282 283 @Test(op = Operation.SMALLER) 284 public static boolean testSmaller4(int a, int b) { 285 return compare2(a, b) == -1; 286 } 287 288 @Test(op = Operation.SMALLER) 289 public static boolean testSmaller5(int a, int b) { 290 return compare2(a, b) < 0; 291 } 292 293 @Test(op = Operation.SMALLER) 294 public static boolean testSmaller6(int a, int b) { 295 return compare2(a, b) <= -1; 296 } 297 298 @Test(op = Operation.SMALLER) 299 public static boolean testSmaller7(int a, int b) { 300 return compare3(a, b) == -1; 301 } 302 303 @Test(op = Operation.SMALLER) 304 public static boolean testSmaller8(int a, int b) { 305 return compare3(a, b) < 0; 306 } 307 308 @Test(op = Operation.SMALLER) 309 public static boolean testSmaller9(int a, int b) { 310 return compare3(a, b) <= -1; 311 } 312 313 @Test(op = Operation.SMALLER) 314 public static boolean testSmaller10(int a, int b) { 315 return compare4(a, b) == -1; 316 } 317 318 @Test(op = Operation.SMALLER) 319 public static boolean testSmaller11(int a, int b) { 320 return compare4(a, b) < 0; 321 } 322 323 @Test(op = Operation.SMALLER) 324 public static boolean testSmaller12(int a, int b) { 325 return compare4(a, b) <= -1; 326 } 327 328 @Test(op = Operation.SMALLER) 329 public static boolean testSmaller13(int a, int b) { 330 return compare5(a, b) == -1; 331 } 332 333 @Test(op = Operation.SMALLER) 334 public static boolean testSmaller14(int a, int b) { 335 return compare5(a, b) < 0; 336 } 337 338 @Test(op = Operation.SMALLER) 339 public static boolean testSmaller15(int a, int b) { 340 return compare5(a, b) <= -1; 341 } 342 343 @Test(op = Operation.SMALLER) 344 public static boolean testSmaller16(int a, int b) { 345 return compare6(a, b) == -1; 346 } 347 348 @Test(op = Operation.SMALLER) 349 public static boolean testSmaller17(int a, int b) { 350 return compare6(a, b) < 0; 351 } 352 353 @Test(op = Operation.SMALLER) 354 public static boolean testSmaller18(int a, int b) { 355 return compare6(a, b) <= -1; 356 } 357 358 @Test(op = Operation.SMALLER) 359 public static boolean testSmaller19(int a, int b) { 360 return compare7(a, b) == -1; 361 } 362 363 @Test(op = Operation.SMALLER) 364 public static boolean testSmaller20(int a, int b) { 365 return compare7(a, b) < 0; 366 } 367 368 @Test(op = Operation.SMALLER) 369 public static boolean testSmaller21(int a, int b) { 370 return compare7(a, b) <= -1; 371 } 372 373 @Test(op = Operation.SMALLER) 374 public static boolean testSmaller22(int a, int b) { 375 return compare8(a, b) == -1; 376 } 377 378 @Test(op = Operation.SMALLER) 379 public static boolean testSmaller23(int a, int b) { 380 return compare8(a, b) < 0; 381 } 382 383 @Test(op = Operation.SMALLER) 384 public static boolean testSmaller24(int a, int b) { 385 return compare8(a, b) <= -1; 386 } 387 388 @Test(op = Operation.SMALLER) 389 public static boolean testSmaller25(int a, int b) { 390 return compare9(a, b) == -1; 391 } 392 393 @Test(op = Operation.SMALLER) 394 public static boolean testSmaller26(int a, int b) { 395 return compare9(a, b) < 0; 396 } 397 398 @Test(op = Operation.SMALLER) 399 public static boolean testSmaller27(int a, int b) { 400 return compare9(a, b) <= -1; 401 } 402 403 @Test(op = Operation.SMALLER) 404 public static boolean testSmaller28(int a, int b) { 405 return compare10(a, b) == -1; 406 } 407 408 @Test(op = Operation.SMALLER) 409 public static boolean testSmaller29(int a, int b) { 410 return compare10(a, b) < 0; 411 } 412 413 @Test(op = Operation.SMALLER) 414 public static boolean testSmaller30(int a, int b) { 415 return compare10(a, b) <= -1; 416 } 417 418 @Test(op = Operation.SMALLER) 419 public static boolean testSmaller31(int a, int b) { 420 return compare11(a, b) == -1; 421 } 422 423 @Test(op = Operation.SMALLER) 424 public static boolean testSmaller32(int a, int b) { 425 return compare11(a, b) < 0; 426 } 427 428 @Test(op = Operation.SMALLER) 429 public static boolean testSmaller33(int a, int b) { 430 return compare11(a, b) <= -1; 431 } 432 433 @Test(op = Operation.SMALLER) 434 public static boolean testSmaller34(int a, int b) { 435 return compare12(a, b) == -1; 436 } 437 438 @Test(op = Operation.SMALLER) 439 public static boolean testSmaller35(int a, int b) { 440 return compare12(a, b) < 0; 441 } 442 443 @Test(op = Operation.SMALLER) 444 public static boolean testSmaller36(int a, int b) { 445 return compare12(a, b) <= -1; 446 } 447 448 @Test(op = Operation.SMALLER) 449 public static boolean testSmaller37(int a, int b) { 450 return compare13(a, b) == -1; 451 } 452 453 @Test(op = Operation.SMALLER) 454 public static boolean testSmaller38(int a, int b) { 455 return compare13(a, b) < 0; 456 } 457 458 @Test(op = Operation.SMALLER) 459 public static boolean testSmaller39(int a, int b) { 460 return compare13(a, b) <= -1; 461 } 462 463 @Test(op = Operation.SMALLER) 464 public static boolean testSmaller40(int a, int b) { 465 return compare14(a, b) == -1; 466 } 467 468 @Test(op = Operation.SMALLER) 469 public static boolean testSmaller41(int a, int b) { 470 return compare14(a, b) < 0; 471 } 472 473 @Test(op = Operation.SMALLER) 474 public static boolean testSmaller42(int a, int b) { 475 return compare14(a, b) <= -1; 476 } 477 478 @Test(op = Operation.SMALLER) 479 public static boolean testSmaller43(int a, int b) { 480 return compare15(a, b) == -1; 481 } 482 483 @Test(op = Operation.SMALLER) 484 public static boolean testSmaller44(int a, int b) { 485 return compare15(a, b) < 0; 486 } 487 488 @Test(op = Operation.SMALLER) 489 public static boolean testSmaller45(int a, int b) { 490 return compare15(a, b) <= -1; 491 } 492 493 @Test(op = Operation.SMALLER) 494 public static boolean testSmaller46(int a, int b) { 495 return compare16(a, b) == -1; 496 } 497 498 @Test(op = Operation.SMALLER) 499 public static boolean testSmaller47(int a, int b) { 500 return compare16(a, b) < 0; 501 } 502 503 @Test(op = Operation.SMALLER) 504 public static boolean testSmaller48(int a, int b) { 505 return compare16(a, b) <= -1; 506 } 507 508 @Test(op = Operation.SMALLER) 509 public static boolean testSmaller49(int a, int b) { 510 return compare17(a, b) == -1; 511 } 512 513 @Test(op = Operation.SMALLER) 514 public static boolean testSmaller50(int a, int b) { 515 return compare17(a, b) < 0; 516 } 517 518 @Test(op = Operation.SMALLER) 519 public static boolean testSmaller51(int a, int b) { 520 return compare17(a, b) <= -1; 521 } 522 523 @Test(op = Operation.SMALLER) 524 public static boolean testSmaller52(int a, int b) { 525 return compare18(a, b) == -1; 526 } 527 528 @Test(op = Operation.SMALLER) 529 public static boolean testSmaller53(int a, int b) { 530 return compare18(a, b) < 0; 531 } 532 533 @Test(op = Operation.SMALLER) 534 public static boolean testSmaller54(int a, int b) { 535 return compare18(a, b) <= -1; 536 } 537 538 @Test(op = Operation.SMALLER) 539 public static boolean testSmaller55(int a, int b) { 540 return compare19(a, b) == -1; 541 } 542 543 @Test(op = Operation.SMALLER) 544 public static boolean testSmaller56(int a, int b) { 545 return compare19(a, b) < 0; 546 } 547 548 @Test(op = Operation.SMALLER) 549 public static boolean testSmaller57(int a, int b) { 550 return compare19(a, b) <= -1; 551 } 552 553 @Test(op = Operation.SMALLER) 554 public static boolean testSmaller58(int a, int b) { 555 return compare20(a, b) == -1; 556 } 557 558 @Test(op = Operation.SMALLER) 559 public static boolean testSmaller59(int a, int b) { 560 return compare20(a, b) < 0; 561 } 562 563 @Test(op = Operation.SMALLER) 564 public static boolean testSmaller60(int a, int b) { 565 return compare20(a, b) <= -1; 566 } 567 568 @Test(op = Operation.SMALLER) 569 public static boolean testSmaller61(int a, int b) { 570 return compare21(a, b) == -1; 571 } 572 573 @Test(op = Operation.SMALLER) 574 public static boolean testSmaller62(int a, int b) { 575 return compare21(a, b) < 0; 576 } 577 578 @Test(op = Operation.SMALLER) 579 public static boolean testSmaller63(int a, int b) { 580 return compare21(a, b) <= -1; 581 } 582 583 @Test(op = Operation.SMALLER) 584 public static boolean testSmaller64(int a, int b) { 585 return compare22(a, b) == -1; 586 } 587 588 @Test(op = Operation.SMALLER) 589 public static boolean testSmaller65(int a, int b) { 590 return compare22(a, b) < 0; 591 } 592 593 @Test(op = Operation.SMALLER) 594 public static boolean testSmaller66(int a, int b) { 595 return compare22(a, b) <= -1; 596 } 597 598 @Test(op = Operation.SMALLER) 599 public static boolean testSmaller67(int a, int b) { 600 return compare23(a, b) == -1; 601 } 602 603 @Test(op = Operation.SMALLER) 604 public static boolean testSmaller68(int a, int b) { 605 return compare23(a, b) < 0; 606 } 607 608 @Test(op = Operation.SMALLER) 609 public static boolean testSmaller69(int a, int b) { 610 return compare23(a, b) <= -1; 611 } 612 613 @Test(op = Operation.SMALLER) 614 public static boolean testSmaller70(int a, int b) { 615 return compare24(a, b) == -1; 616 } 617 618 @Test(op = Operation.SMALLER) 619 public static boolean testSmaller71(int a, int b) { 620 return compare24(a, b) < 0; 621 } 622 623 @Test(op = Operation.SMALLER) 624 public static boolean testSmaller72(int a, int b) { 625 return compare24(a, b) <= -1; 626 } 627 628 @Test(op = Operation.SMALLER) 629 public static boolean testSmaller73(int a, int b) { 630 return compare25(a, b) == -1; 631 } 632 633 @Test(op = Operation.SMALLER) 634 public static boolean testSmaller74(int a, int b) { 635 return compare25(a, b) < 0; 636 } 637 638 @Test(op = Operation.SMALLER) 639 public static boolean testSmaller75(int a, int b) { 640 return compare25(a, b) <= -1; 641 } 642 643 @Test(op = Operation.SMALLER) 644 public static boolean testSmaller76(int a, int b) { 645 return compare26(a, b) == -1; 646 } 647 648 @Test(op = Operation.SMALLER) 649 public static boolean testSmaller77(int a, int b) { 650 return compare26(a, b) < 0; 651 } 652 653 @Test(op = Operation.SMALLER) 654 public static boolean testSmaller78(int a, int b) { 655 return compare26(a, b) <= -1; 656 } 657 658 @Test(op = Operation.SMALLER) 659 public static boolean testSmaller79(int a, int b) { 660 return compare27(a, b) == -1; 661 } 662 663 @Test(op = Operation.SMALLER) 664 public static boolean testSmaller80(int a, int b) { 665 return compare27(a, b) < 0; 666 } 667 668 @Test(op = Operation.SMALLER) 669 public static boolean testSmaller81(int a, int b) { 670 return compare27(a, b) <= -1; 671 } 672 673 @Test(op = Operation.SMALLER) 674 public static boolean testSmaller82(int a, int b) { 675 return compare28(a, b) == -1; 676 } 677 678 @Test(op = Operation.SMALLER) 679 public static boolean testSmaller83(int a, int b) { 680 return compare28(a, b) < 0; 681 } 682 683 @Test(op = Operation.SMALLER) 684 public static boolean testSmaller84(int a, int b) { 685 return compare28(a, b) <= -1; 686 } 687 688 @Test(op = Operation.SMALLER) 689 public static boolean testSmaller85(int a, int b) { 690 return compare29(a, b) == -1; 691 } 692 693 @Test(op = Operation.SMALLER) 694 public static boolean testSmaller86(int a, int b) { 695 return compare29(a, b) < 0; 696 } 697 698 @Test(op = Operation.SMALLER) 699 public static boolean testSmaller87(int a, int b) { 700 return compare29(a, b) <= -1; 701 } 702 703 @Test(op = Operation.SMALLER) 704 public static boolean testSmaller88(int a, int b) { 705 return compare30(a, b) == -1; 706 } 707 708 @Test(op = Operation.SMALLER) 709 public static boolean testSmaller89(int a, int b) { 710 return compare30(a, b) < 0; 711 } 712 713 @Test(op = Operation.SMALLER) 714 public static boolean testSmaller90(int a, int b) { 715 return compare30(a, b) <= -1; 716 } 717 718 @Test(op = Operation.SMALLER) 719 public static boolean testSmaller91(int a, int b) { 720 return compare31(a, b) == -1; 721 } 722 723 @Test(op = Operation.SMALLER) 724 public static boolean testSmaller92(int a, int b) { 725 return compare31(a, b) < 0; 726 } 727 728 @Test(op = Operation.SMALLER) 729 public static boolean testSmaller93(int a, int b) { 730 return compare31(a, b) <= -1; 731 } 732 733 @Test(op = Operation.SMALLER) 734 public static boolean testSmaller94(int a, int b) { 735 return compare32(a, b) == -1; 736 } 737 738 @Test(op = Operation.SMALLER) 739 public static boolean testSmaller95(int a, int b) { 740 return compare32(a, b) < 0; 741 } 742 743 @Test(op = Operation.SMALLER) 744 public static boolean testSmaller96(int a, int b) { 745 return compare32(a, b) <= -1; 746 } 747 748 @Test(op = Operation.SMALLER) 749 public static boolean testSmaller97(int a, int b) { 750 return compare33(a, b) == -1; 751 } 752 753 @Test(op = Operation.SMALLER) 754 public static boolean testSmaller98(int a, int b) { 755 return compare33(a, b) < 0; 756 } 757 758 @Test(op = Operation.SMALLER) 759 public static boolean testSmaller99(int a, int b) { 760 return compare33(a, b) <= -1; 761 } 762 763 @Test(op = Operation.SMALLER) 764 public static boolean testSmaller100(int a, int b) { 765 return compare34(a, b) == -1; 766 } 767 768 @Test(op = Operation.SMALLER) 769 public static boolean testSmaller101(int a, int b) { 770 return compare34(a, b) < 0; 771 } 772 773 @Test(op = Operation.SMALLER) 774 public static boolean testSmaller102(int a, int b) { 775 return compare34(a, b) <= -1; 776 } 777 778 @Test(op = Operation.SMALLER) 779 public static boolean testSmaller103(int a, int b) { 780 return compare35(a, b) == -1; 781 } 782 783 @Test(op = Operation.SMALLER) 784 public static boolean testSmaller104(int a, int b) { 785 return compare35(a, b) < 0; 786 } 787 788 @Test(op = Operation.SMALLER) 789 public static boolean testSmaller105(int a, int b) { 790 return compare35(a, b) <= -1; 791 } 792 793 @Test(op = Operation.SMALLER) 794 public static boolean testSmaller106(int a, int b) { 795 return compare36(a, b) == -1; 796 } 797 798 @Test(op = Operation.SMALLER) 799 public static boolean testSmaller107(int a, int b) { 800 return compare36(a, b) < 0; 801 } 802 803 @Test(op = Operation.SMALLER) 804 public static boolean testSmaller108(int a, int b) { 805 return compare36(a, b) <= -1; 806 } 807 808 @Test(op = Operation.SMALLER) 809 public static boolean testSmaller109(int a, int b) { 810 return compare37(a, b) == -1; 811 } 812 813 @Test(op = Operation.SMALLER) 814 public static boolean testSmaller110(int a, int b) { 815 return compare37(a, b) < 0; 816 } 817 818 @Test(op = Operation.SMALLER) 819 public static boolean testSmaller111(int a, int b) { 820 return compare37(a, b) <= -1; 821 } 822 823 @Test(op = Operation.SMALLER) 824 public static boolean testSmaller112(int a, int b) { 825 return compare38(a, b) == -1; 826 } 827 828 @Test(op = Operation.SMALLER) 829 public static boolean testSmaller113(int a, int b) { 830 return compare38(a, b) < 0; 831 } 832 833 @Test(op = Operation.SMALLER) 834 public static boolean testSmaller114(int a, int b) { 835 return compare38(a, b) <= -1; 836 } 837 838 @Test(op = Operation.SMALLER) 839 public static boolean testSmaller115(int a, int b) { 840 return compare39(a, b) == -1; 841 } 842 843 @Test(op = Operation.SMALLER) 844 public static boolean testSmaller116(int a, int b) { 845 return compare39(a, b) < 0; 846 } 847 848 @Test(op = Operation.SMALLER) 849 public static boolean testSmaller117(int a, int b) { 850 return compare39(a, b) <= -1; 851 } 852 853 @Test(op = Operation.SMALLER) 854 public static boolean testSmaller118(int a, int b) { 855 return compare40(a, b) == -1; 856 } 857 858 @Test(op = Operation.SMALLER) 859 public static boolean testSmaller119(int a, int b) { 860 return compare40(a, b) < 0; 861 } 862 863 @Test(op = Operation.SMALLER) 864 public static boolean testSmaller120(int a, int b) { 865 return compare40(a, b) <= -1; 866 } 867 868 @Test(op = Operation.SMALLER) 869 public static boolean testSmaller121(int a, int b) { 870 return compare41(a, b) == -1; 871 } 872 873 @Test(op = Operation.SMALLER) 874 public static boolean testSmaller122(int a, int b) { 875 return compare41(a, b) < 0; 876 } 877 878 @Test(op = Operation.SMALLER) 879 public static boolean testSmaller123(int a, int b) { 880 return compare41(a, b) <= -1; 881 } 882 883 @Test(op = Operation.SMALLER) 884 public static boolean testSmaller124(int a, int b) { 885 return compare42(a, b) == -1; 886 } 887 888 @Test(op = Operation.SMALLER) 889 public static boolean testSmaller125(int a, int b) { 890 return compare42(a, b) < 0; 891 } 892 893 @Test(op = Operation.SMALLER) 894 public static boolean testSmaller126(int a, int b) { 895 return compare42(a, b) <= -1; 896 } 897 898 @Test(op = Operation.SMALLER) 899 public static boolean testSmaller127(int a, int b) { 900 return compare43(a, b) == -1; 901 } 902 903 @Test(op = Operation.SMALLER) 904 public static boolean testSmaller128(int a, int b) { 905 return compare43(a, b) < 0; 906 } 907 908 @Test(op = Operation.SMALLER) 909 public static boolean testSmaller129(int a, int b) { 910 return compare43(a, b) <= -1; 911 } 912 913 @Test(op = Operation.SMALLER) 914 public static boolean testSmaller130(int a, int b) { 915 return compare44(a, b) == -1; 916 } 917 918 @Test(op = Operation.SMALLER) 919 public static boolean testSmaller131(int a, int b) { 920 return compare44(a, b) < 0; 921 } 922 923 @Test(op = Operation.SMALLER) 924 public static boolean testSmaller132(int a, int b) { 925 return compare44(a, b) <= -1; 926 } 927 928 @Test(op = Operation.SMALLER) 929 public static boolean testSmaller133(int a, int b) { 930 return compare45(a, b) == -1; 931 } 932 933 @Test(op = Operation.SMALLER) 934 public static boolean testSmaller134(int a, int b) { 935 return compare45(a, b) < 0; 936 } 937 938 @Test(op = Operation.SMALLER) 939 public static boolean testSmaller135(int a, int b) { 940 return compare45(a, b) <= -1; 941 } 942 943 @Test(op = Operation.SMALLER) 944 public static boolean testSmaller136(int a, int b) { 945 return compare46(a, b) == -1; 946 } 947 948 @Test(op = Operation.SMALLER) 949 public static boolean testSmaller137(int a, int b) { 950 return compare46(a, b) < 0; 951 } 952 953 @Test(op = Operation.SMALLER) 954 public static boolean testSmaller138(int a, int b) { 955 return compare46(a, b) <= -1; 956 } 957 958 @Test(op = Operation.SMALLER) 959 public static boolean testSmaller139(int a, int b) { 960 return compare47(a, b) == -1; 961 } 962 963 @Test(op = Operation.SMALLER) 964 public static boolean testSmaller140(int a, int b) { 965 return compare47(a, b) < 0; 966 } 967 968 @Test(op = Operation.SMALLER) 969 public static boolean testSmaller141(int a, int b) { 970 return compare47(a, b) <= -1; 971 } 972 973 @Test(op = Operation.SMALLER) 974 public static boolean testSmaller142(int a, int b) { 975 return compare48(a, b) == -1; 976 } 977 978 @Test(op = Operation.SMALLER) 979 public static boolean testSmaller143(int a, int b) { 980 return compare48(a, b) < 0; 981 } 982 983 @Test(op = Operation.SMALLER) 984 public static boolean testSmaller144(int a, int b) { 985 return compare48(a, b) <= -1; 986 } 987 988 989 @Test(op = Operation.SMALLER_EQUAL) 990 public static boolean testSmallerEqual1(int a, int b) { 991 return compare1(a, b) <= 0; 992 } 993 994 @Test(op = Operation.SMALLER_EQUAL) 995 public static boolean testSmallerEqual2(int a, int b) { 996 return compare2(a, b) <= 0; 997 } 998 999 @Test(op = Operation.SMALLER_EQUAL) 1000 public static boolean testSmallerEqual3(int a, int b) { 1001 return compare3(a, b) <= 0; 1002 } 1003 1004 @Test(op = Operation.SMALLER_EQUAL) 1005 public static boolean testSmallerEqual4(int a, int b) { 1006 return compare4(a, b) <= 0; 1007 } 1008 1009 @Test(op = Operation.SMALLER_EQUAL) 1010 public static boolean testSmallerEqual5(int a, int b) { 1011 return compare5(a, b) <= 0; 1012 } 1013 1014 @Test(op = Operation.SMALLER_EQUAL) 1015 public static boolean testSmallerEqual6(int a, int b) { 1016 return compare6(a, b) <= 0; 1017 } 1018 1019 @Test(op = Operation.SMALLER_EQUAL) 1020 public static boolean testSmallerEqual7(int a, int b) { 1021 return compare7(a, b) <= 0; 1022 } 1023 1024 @Test(op = Operation.SMALLER_EQUAL) 1025 public static boolean testSmallerEqual8(int a, int b) { 1026 return compare8(a, b) <= 0; 1027 } 1028 1029 @Test(op = Operation.SMALLER_EQUAL) 1030 public static boolean testSmallerEqual9(int a, int b) { 1031 return compare9(a, b) <= 0; 1032 } 1033 1034 @Test(op = Operation.SMALLER_EQUAL) 1035 public static boolean testSmallerEqual10(int a, int b) { 1036 return compare10(a, b) <= 0; 1037 } 1038 1039 @Test(op = Operation.SMALLER_EQUAL) 1040 public static boolean testSmallerEqual11(int a, int b) { 1041 return compare11(a, b) <= 0; 1042 } 1043 1044 @Test(op = Operation.SMALLER_EQUAL) 1045 public static boolean testSmallerEqual12(int a, int b) { 1046 return compare12(a, b) <= 0; 1047 } 1048 1049 @Test(op = Operation.SMALLER_EQUAL) 1050 public static boolean testSmallerEqual13(int a, int b) { 1051 return compare13(a, b) <= 0; 1052 } 1053 1054 @Test(op = Operation.SMALLER_EQUAL) 1055 public static boolean testSmallerEqual14(int a, int b) { 1056 return compare14(a, b) <= 0; 1057 } 1058 1059 @Test(op = Operation.SMALLER_EQUAL) 1060 public static boolean testSmallerEqual15(int a, int b) { 1061 return compare15(a, b) <= 0; 1062 } 1063 1064 @Test(op = Operation.SMALLER_EQUAL) 1065 public static boolean testSmallerEqual16(int a, int b) { 1066 return compare16(a, b) <= 0; 1067 } 1068 1069 @Test(op = Operation.SMALLER_EQUAL) 1070 public static boolean testSmallerEqual17(int a, int b) { 1071 return compare17(a, b) <= 0; 1072 } 1073 1074 @Test(op = Operation.SMALLER_EQUAL) 1075 public static boolean testSmallerEqual18(int a, int b) { 1076 return compare18(a, b) <= 0; 1077 } 1078 1079 @Test(op = Operation.SMALLER_EQUAL) 1080 public static boolean testSmallerEqual19(int a, int b) { 1081 return compare19(a, b) <= 0; 1082 } 1083 1084 @Test(op = Operation.SMALLER_EQUAL) 1085 public static boolean testSmallerEqual20(int a, int b) { 1086 return compare20(a, b) <= 0; 1087 } 1088 1089 @Test(op = Operation.SMALLER_EQUAL) 1090 public static boolean testSmallerEqual21(int a, int b) { 1091 return compare21(a, b) <= 0; 1092 } 1093 1094 @Test(op = Operation.SMALLER_EQUAL) 1095 public static boolean testSmallerEqual22(int a, int b) { 1096 return compare22(a, b) <= 0; 1097 } 1098 1099 @Test(op = Operation.SMALLER_EQUAL) 1100 public static boolean testSmallerEqual23(int a, int b) { 1101 return compare23(a, b) <= 0; 1102 } 1103 1104 @Test(op = Operation.SMALLER_EQUAL) 1105 public static boolean testSmallerEqual24(int a, int b) { 1106 return compare24(a, b) <= 0; 1107 } 1108 1109 @Test(op = Operation.SMALLER_EQUAL) 1110 public static boolean testSmallerEqual25(int a, int b) { 1111 return compare2(a, b) <= 0; 1112 } 1113 1114 @Test(op = Operation.SMALLER_EQUAL) 1115 public static boolean testSmallerEqual26(int a, int b) { 1116 return compare26(a, b) <= 0; 1117 } 1118 1119 @Test(op = Operation.SMALLER_EQUAL) 1120 public static boolean testSmallerEqual27(int a, int b) { 1121 return compare27(a, b) <= 0; 1122 } 1123 1124 @Test(op = Operation.SMALLER_EQUAL) 1125 public static boolean testSmallerEqual28(int a, int b) { 1126 return compare28(a, b) <= 0; 1127 } 1128 1129 @Test(op = Operation.SMALLER_EQUAL) 1130 public static boolean testSmallerEqual29(int a, int b) { 1131 return compare29(a, b) <= 0; 1132 } 1133 1134 @Test(op = Operation.SMALLER_EQUAL) 1135 public static boolean testSmallerEqual30(int a, int b) { 1136 return compare30(a, b) <= 0; 1137 } 1138 1139 @Test(op = Operation.SMALLER_EQUAL) 1140 public static boolean testSmallerEqual31(int a, int b) { 1141 return compare31(a, b) <= 0; 1142 } 1143 1144 @Test(op = Operation.SMALLER_EQUAL) 1145 public static boolean testSmallerEqual32(int a, int b) { 1146 return compare32(a, b) <= 0; 1147 } 1148 1149 @Test(op = Operation.SMALLER_EQUAL) 1150 public static boolean testSmallerEqual33(int a, int b) { 1151 return compare33(a, b) <= 0; 1152 } 1153 1154 @Test(op = Operation.SMALLER_EQUAL) 1155 public static boolean testSmallerEqual34(int a, int b) { 1156 return compare34(a, b) <= 0; 1157 } 1158 1159 @Test(op = Operation.SMALLER_EQUAL) 1160 public static boolean testSmallerEqual35(int a, int b) { 1161 return compare35(a, b) <= 0; 1162 } 1163 1164 @Test(op = Operation.SMALLER_EQUAL) 1165 public static boolean testSmallerEqual36(int a, int b) { 1166 return compare36(a, b) <= 0; 1167 } 1168 1169 @Test(op = Operation.SMALLER_EQUAL) 1170 public static boolean testSmallerEqual37(int a, int b) { 1171 return compare37(a, b) <= 0; 1172 } 1173 1174 @Test(op = Operation.SMALLER_EQUAL) 1175 public static boolean testSmallerEqual38(int a, int b) { 1176 return compare38(a, b) <= 0; 1177 } 1178 1179 @Test(op = Operation.SMALLER_EQUAL) 1180 public static boolean testSmallerEqual39(int a, int b) { 1181 return compare39(a, b) <= 0; 1182 } 1183 1184 @Test(op = Operation.SMALLER_EQUAL) 1185 public static boolean testSmallerEqual40(int a, int b) { 1186 return compare40(a, b) <= 0; 1187 } 1188 1189 @Test(op = Operation.SMALLER_EQUAL) 1190 public static boolean testSmallerEqual41(int a, int b) { 1191 return compare41(a, b) <= 0; 1192 } 1193 1194 @Test(op = Operation.SMALLER_EQUAL) 1195 public static boolean testSmallerEqual42(int a, int b) { 1196 return compare42(a, b) <= 0; 1197 } 1198 1199 @Test(op = Operation.SMALLER_EQUAL) 1200 public static boolean testSmallerEqual43(int a, int b) { 1201 return compare43(a, b) <= 0; 1202 } 1203 1204 @Test(op = Operation.SMALLER_EQUAL) 1205 public static boolean testSmallerEqual44(int a, int b) { 1206 return compare44(a, b) <= 0; 1207 } 1208 1209 @Test(op = Operation.SMALLER_EQUAL) 1210 public static boolean testSmallerEqual45(int a, int b) { 1211 return compare45(a, b) <= 0; 1212 } 1213 1214 @Test(op = Operation.SMALLER_EQUAL) 1215 public static boolean testSmallerEqual46(int a, int b) { 1216 return compare46(a, b) <= 0; 1217 } 1218 1219 @Test(op = Operation.SMALLER_EQUAL) 1220 public static boolean testSmallerEqual47(int a, int b) { 1221 return compare47(a, b) <= 0; 1222 } 1223 1224 @Test(op = Operation.SMALLER_EQUAL) 1225 public static boolean testSmallerEqual48(int a, int b) { 1226 return compare48(a, b) <= 0; 1227 } 1228 1229 1230 @Test(op = Operation.EQUAL) 1231 public static boolean testEqual1(int a, int b) { 1232 return compare1(a, b) == 0; 1233 } 1234 1235 @Test(op = Operation.EQUAL) 1236 public static boolean testEqual2(int a, int b) { 1237 return compare2(a, b) == 0; 1238 } 1239 1240 @Test(op = Operation.EQUAL) 1241 public static boolean testEqual3(int a, int b) { 1242 return compare3(a, b) == 0; 1243 } 1244 1245 @Test(op = Operation.EQUAL) 1246 public static boolean testEqual4(int a, int b) { 1247 return compare4(a, b) == 0; 1248 } 1249 1250 @Test(op = Operation.EQUAL) 1251 public static boolean testEqual5(int a, int b) { 1252 return compare5(a, b) == 0; 1253 } 1254 1255 @Test(op = Operation.EQUAL) 1256 public static boolean testEqual6(int a, int b) { 1257 return compare6(a, b) == 0; 1258 } 1259 1260 @Test(op = Operation.EQUAL) 1261 public static boolean testEqual7(int a, int b) { 1262 return compare7(a, b) == 0; 1263 } 1264 1265 @Test(op = Operation.EQUAL) 1266 public static boolean testEqual8(int a, int b) { 1267 return compare8(a, b) == 0; 1268 } 1269 1270 @Test(op = Operation.EQUAL) 1271 public static boolean testEqual9(int a, int b) { 1272 return compare9(a, b) == 0; 1273 } 1274 1275 @Test(op = Operation.EQUAL) 1276 public static boolean testEqual10(int a, int b) { 1277 return compare10(a, b) == 0; 1278 } 1279 1280 @Test(op = Operation.EQUAL) 1281 public static boolean testEqual11(int a, int b) { 1282 return compare11(a, b) == 0; 1283 } 1284 1285 @Test(op = Operation.EQUAL) 1286 public static boolean testEqual12(int a, int b) { 1287 return compare12(a, b) == 0; 1288 } 1289 1290 @Test(op = Operation.EQUAL) 1291 public static boolean testEqual13(int a, int b) { 1292 return compare13(a, b) == 0; 1293 } 1294 1295 @Test(op = Operation.EQUAL) 1296 public static boolean testEqual14(int a, int b) { 1297 return compare14(a, b) == 0; 1298 } 1299 1300 @Test(op = Operation.EQUAL) 1301 public static boolean testEqual15(int a, int b) { 1302 return compare15(a, b) == 0; 1303 } 1304 1305 @Test(op = Operation.EQUAL) 1306 public static boolean testEqual16(int a, int b) { 1307 return compare16(a, b) == 0; 1308 } 1309 1310 @Test(op = Operation.EQUAL) 1311 public static boolean testEqual17(int a, int b) { 1312 return compare17(a, b) == 0; 1313 } 1314 1315 @Test(op = Operation.EQUAL) 1316 public static boolean testEqual18(int a, int b) { 1317 return compare18(a, b) == 0; 1318 } 1319 1320 @Test(op = Operation.EQUAL) 1321 public static boolean testEqual19(int a, int b) { 1322 return compare19(a, b) == 0; 1323 } 1324 1325 @Test(op = Operation.EQUAL) 1326 public static boolean testEqual20(int a, int b) { 1327 return compare20(a, b) == 0; 1328 } 1329 1330 @Test(op = Operation.EQUAL) 1331 public static boolean testEqual21(int a, int b) { 1332 return compare21(a, b) == 0; 1333 } 1334 1335 @Test(op = Operation.EQUAL) 1336 public static boolean testEqual22(int a, int b) { 1337 return compare22(a, b) == 0; 1338 } 1339 1340 @Test(op = Operation.EQUAL) 1341 public static boolean testEqual23(int a, int b) { 1342 return compare23(a, b) == 0; 1343 } 1344 1345 @Test(op = Operation.EQUAL) 1346 public static boolean testEqual24(int a, int b) { 1347 return compare24(a, b) == 0; 1348 } 1349 1350 @Test(op = Operation.EQUAL) 1351 public static boolean testEqual25(int a, int b) { 1352 return compare25(a, b) == 0; 1353 } 1354 1355 @Test(op = Operation.EQUAL) 1356 public static boolean testEqual26(int a, int b) { 1357 return compare26(a, b) == 0; 1358 } 1359 1360 @Test(op = Operation.EQUAL) 1361 public static boolean testEqual27(int a, int b) { 1362 return compare27(a, b) == 0; 1363 } 1364 1365 @Test(op = Operation.EQUAL) 1366 public static boolean testEqual28(int a, int b) { 1367 return compare28(a, b) == 0; 1368 } 1369 1370 @Test(op = Operation.EQUAL) 1371 public static boolean testEqual29(int a, int b) { 1372 return compare29(a, b) == 0; 1373 } 1374 1375 @Test(op = Operation.EQUAL) 1376 public static boolean testEqual30(int a, int b) { 1377 return compare30(a, b) == 0; 1378 } 1379 1380 @Test(op = Operation.EQUAL) 1381 public static boolean testEqual31(int a, int b) { 1382 return compare31(a, b) == 0; 1383 } 1384 1385 @Test(op = Operation.EQUAL) 1386 public static boolean testEqual32(int a, int b) { 1387 return compare32(a, b) == 0; 1388 } 1389 1390 @Test(op = Operation.EQUAL) 1391 public static boolean testEqual33(int a, int b) { 1392 return compare33(a, b) == 0; 1393 } 1394 1395 @Test(op = Operation.EQUAL) 1396 public static boolean testEqual34(int a, int b) { 1397 return compare34(a, b) == 0; 1398 } 1399 1400 @Test(op = Operation.EQUAL) 1401 public static boolean testEqual35(int a, int b) { 1402 return compare35(a, b) == 0; 1403 } 1404 1405 @Test(op = Operation.EQUAL) 1406 public static boolean testEqual36(int a, int b) { 1407 return compare36(a, b) == 0; 1408 } 1409 1410 @Test(op = Operation.EQUAL) 1411 public static boolean testEqual37(int a, int b) { 1412 return compare37(a, b) == 0; 1413 } 1414 1415 @Test(op = Operation.EQUAL) 1416 public static boolean testEqual38(int a, int b) { 1417 return compare38(a, b) == 0; 1418 } 1419 1420 @Test(op = Operation.EQUAL) 1421 public static boolean testEqual39(int a, int b) { 1422 return compare39(a, b) == 0; 1423 } 1424 1425 @Test(op = Operation.EQUAL) 1426 public static boolean testEqual40(int a, int b) { 1427 return compare40(a, b) == 0; 1428 } 1429 1430 @Test(op = Operation.EQUAL) 1431 public static boolean testEqual41(int a, int b) { 1432 return compare41(a, b) == 0; 1433 } 1434 1435 @Test(op = Operation.EQUAL) 1436 public static boolean testEqual42(int a, int b) { 1437 return compare42(a, b) == 0; 1438 } 1439 1440 @Test(op = Operation.EQUAL) 1441 public static boolean testEqual43(int a, int b) { 1442 return compare43(a, b) == 0; 1443 } 1444 1445 @Test(op = Operation.EQUAL) 1446 public static boolean testEqual44(int a, int b) { 1447 return compare44(a, b) == 0; 1448 } 1449 1450 @Test(op = Operation.EQUAL) 1451 public static boolean testEqual45(int a, int b) { 1452 return compare45(a, b) == 0; 1453 } 1454 1455 @Test(op = Operation.EQUAL) 1456 public static boolean testEqual46(int a, int b) { 1457 return compare46(a, b) == 0; 1458 } 1459 1460 @Test(op = Operation.EQUAL) 1461 public static boolean testEqual47(int a, int b) { 1462 return compare47(a, b) == 0; 1463 } 1464 1465 @Test(op = Operation.EQUAL) 1466 public static boolean testEqual48(int a, int b) { 1467 return compare48(a, b) == 0; 1468 } 1469 1470 1471 @Test(op = Operation.GREATER_EQUAL) 1472 public static boolean testGreaterEqual1(int a, int b) { 1473 return compare1(a, b) >= 0; 1474 } 1475 1476 @Test(op = Operation.GREATER_EQUAL) 1477 public static boolean testGreaterEqual2(int a, int b) { 1478 return compare2(a, b) >= 0; 1479 } 1480 1481 @Test(op = Operation.GREATER_EQUAL) 1482 public static boolean testGreaterEqual3(int a, int b) { 1483 return compare3(a, b) >= 0; 1484 } 1485 1486 @Test(op = Operation.GREATER_EQUAL) 1487 public static boolean testGreaterEqual4(int a, int b) { 1488 return compare4(a, b) >= 0; 1489 } 1490 1491 @Test(op = Operation.GREATER_EQUAL) 1492 public static boolean testGreaterEqual5(int a, int b) { 1493 return compare5(a, b) >= 0; 1494 } 1495 1496 @Test(op = Operation.GREATER_EQUAL) 1497 public static boolean testGreaterEqual6(int a, int b) { 1498 return compare6(a, b) >= 0; 1499 } 1500 1501 @Test(op = Operation.GREATER_EQUAL) 1502 public static boolean testGreaterEqual7(int a, int b) { 1503 return compare7(a, b) >= 0; 1504 } 1505 1506 @Test(op = Operation.GREATER_EQUAL) 1507 public static boolean testGreaterEqual8(int a, int b) { 1508 return compare8(a, b) >= 0; 1509 } 1510 1511 @Test(op = Operation.GREATER_EQUAL) 1512 public static boolean testGreaterEqual9(int a, int b) { 1513 return compare9(a, b) >= 0; 1514 } 1515 1516 @Test(op = Operation.GREATER_EQUAL) 1517 public static boolean testGreaterEqual10(int a, int b) { 1518 return compare10(a, b) >= 0; 1519 } 1520 1521 @Test(op = Operation.GREATER_EQUAL) 1522 public static boolean testGreaterEqual11(int a, int b) { 1523 return compare11(a, b) >= 0; 1524 } 1525 1526 @Test(op = Operation.GREATER_EQUAL) 1527 public static boolean testGreaterEqual12(int a, int b) { 1528 return compare12(a, b) >= 0; 1529 } 1530 1531 @Test(op = Operation.GREATER_EQUAL) 1532 public static boolean testGreaterEqual13(int a, int b) { 1533 return compare13(a, b) >= 0; 1534 } 1535 1536 @Test(op = Operation.GREATER_EQUAL) 1537 public static boolean testGreaterEqual14(int a, int b) { 1538 return compare14(a, b) >= 0; 1539 } 1540 1541 @Test(op = Operation.GREATER_EQUAL) 1542 public static boolean testGreaterEqual15(int a, int b) { 1543 return compare15(a, b) >= 0; 1544 } 1545 1546 @Test(op = Operation.GREATER_EQUAL) 1547 public static boolean testGreaterEqual16(int a, int b) { 1548 return compare16(a, b) >= 0; 1549 } 1550 1551 @Test(op = Operation.GREATER_EQUAL) 1552 public static boolean testGreaterEqual17(int a, int b) { 1553 return compare17(a, b) >= 0; 1554 } 1555 1556 @Test(op = Operation.GREATER_EQUAL) 1557 public static boolean testGreaterEqual18(int a, int b) { 1558 return compare18(a, b) >= 0; 1559 } 1560 1561 @Test(op = Operation.GREATER_EQUAL) 1562 public static boolean testGreaterEqual19(int a, int b) { 1563 return compare19(a, b) >= 0; 1564 } 1565 1566 @Test(op = Operation.GREATER_EQUAL) 1567 public static boolean testGreaterEqual20(int a, int b) { 1568 return compare20(a, b) >= 0; 1569 } 1570 1571 @Test(op = Operation.GREATER_EQUAL) 1572 public static boolean testGreaterEqual21(int a, int b) { 1573 return compare21(a, b) >= 0; 1574 } 1575 1576 @Test(op = Operation.GREATER_EQUAL) 1577 public static boolean testGreaterEqual22(int a, int b) { 1578 return compare22(a, b) >= 0; 1579 } 1580 1581 @Test(op = Operation.GREATER_EQUAL) 1582 public static boolean testGreaterEqual23(int a, int b) { 1583 return compare23(a, b) >= 0; 1584 } 1585 1586 @Test(op = Operation.GREATER_EQUAL) 1587 public static boolean testGreaterEqual24(int a, int b) { 1588 return compare24(a, b) >= 0; 1589 } 1590 1591 @Test(op = Operation.GREATER_EQUAL) 1592 public static boolean testGreaterEqual25(int a, int b) { 1593 return compare25(a, b) >= 0; 1594 } 1595 1596 @Test(op = Operation.GREATER_EQUAL) 1597 public static boolean testGreaterEqual26(int a, int b) { 1598 return compare26(a, b) >= 0; 1599 } 1600 1601 @Test(op = Operation.GREATER_EQUAL) 1602 public static boolean testGreaterEqual27(int a, int b) { 1603 return compare27(a, b) >= 0; 1604 } 1605 1606 @Test(op = Operation.GREATER_EQUAL) 1607 public static boolean testGreaterEqual28(int a, int b) { 1608 return compare28(a, b) >= 0; 1609 } 1610 1611 @Test(op = Operation.GREATER_EQUAL) 1612 public static boolean testGreaterEqual29(int a, int b) { 1613 return compare29(a, b) >= 0; 1614 } 1615 1616 @Test(op = Operation.GREATER_EQUAL) 1617 public static boolean testGreaterEqual30(int a, int b) { 1618 return compare30(a, b) >= 0; 1619 } 1620 1621 @Test(op = Operation.GREATER_EQUAL) 1622 public static boolean testGreaterEqual31(int a, int b) { 1623 return compare31(a, b) >= 0; 1624 } 1625 1626 @Test(op = Operation.GREATER_EQUAL) 1627 public static boolean testGreaterEqual32(int a, int b) { 1628 return compare32(a, b) >= 0; 1629 } 1630 1631 @Test(op = Operation.GREATER_EQUAL) 1632 public static boolean testGreaterEqual33(int a, int b) { 1633 return compare33(a, b) >= 0; 1634 } 1635 1636 @Test(op = Operation.GREATER_EQUAL) 1637 public static boolean testGreaterEqual34(int a, int b) { 1638 return compare34(a, b) >= 0; 1639 } 1640 1641 @Test(op = Operation.GREATER_EQUAL) 1642 public static boolean testGreaterEqual35(int a, int b) { 1643 return compare35(a, b) >= 0; 1644 } 1645 1646 @Test(op = Operation.GREATER_EQUAL) 1647 public static boolean testGreaterEqual36(int a, int b) { 1648 return compare36(a, b) >= 0; 1649 } 1650 1651 @Test(op = Operation.GREATER_EQUAL) 1652 public static boolean testGreaterEqual37(int a, int b) { 1653 return compare37(a, b) >= 0; 1654 } 1655 1656 @Test(op = Operation.GREATER_EQUAL) 1657 public static boolean testGreaterEqual38(int a, int b) { 1658 return compare38(a, b) >= 0; 1659 } 1660 1661 @Test(op = Operation.GREATER_EQUAL) 1662 public static boolean testGreaterEqual39(int a, int b) { 1663 return compare39(a, b) >= 0; 1664 } 1665 1666 @Test(op = Operation.GREATER_EQUAL) 1667 public static boolean testGreaterEqual40(int a, int b) { 1668 return compare40(a, b) >= 0; 1669 } 1670 1671 @Test(op = Operation.GREATER_EQUAL) 1672 public static boolean testGreaterEqual41(int a, int b) { 1673 return compare41(a, b) >= 0; 1674 } 1675 1676 @Test(op = Operation.GREATER_EQUAL) 1677 public static boolean testGreaterEqual42(int a, int b) { 1678 return compare42(a, b) >= 0; 1679 } 1680 1681 @Test(op = Operation.GREATER_EQUAL) 1682 public static boolean testGreaterEqual43(int a, int b) { 1683 return compare43(a, b) >= 0; 1684 } 1685 1686 @Test(op = Operation.GREATER_EQUAL) 1687 public static boolean testGreaterEqual44(int a, int b) { 1688 return compare44(a, b) >= 0; 1689 } 1690 1691 @Test(op = Operation.GREATER_EQUAL) 1692 public static boolean testGreaterEqual45(int a, int b) { 1693 return compare45(a, b) >= 0; 1694 } 1695 1696 @Test(op = Operation.GREATER_EQUAL) 1697 public static boolean testGreaterEqual46(int a, int b) { 1698 return compare46(a, b) >= 0; 1699 } 1700 1701 @Test(op = Operation.GREATER_EQUAL) 1702 public static boolean testGreaterEqual47(int a, int b) { 1703 return compare47(a, b) >= 0; 1704 } 1705 1706 @Test(op = Operation.GREATER_EQUAL) 1707 public static boolean testGreaterEqual48(int a, int b) { 1708 return compare48(a, b) >= 0; 1709 } 1710 1711 1712 @Test(op = Operation.GREATER) 1713 public static boolean testGreater1(int a, int b) { 1714 return compare1(a, b) == 1; 1715 } 1716 1717 @Test(op = Operation.GREATER) 1718 public static boolean testGreater2(int a, int b) { 1719 return compare1(a, b) > 0; 1720 } 1721 1722 @Test(op = Operation.GREATER) 1723 public static boolean testGreater3(int a, int b) { 1724 return compare1(a, b) >= 1; 1725 } 1726 1727 @Test(op = Operation.GREATER) 1728 public static boolean testGreater4(int a, int b) { 1729 return compare2(a, b) == 1; 1730 } 1731 1732 @Test(op = Operation.GREATER) 1733 public static boolean testGreater5(int a, int b) { 1734 return compare2(a, b) > 0; 1735 } 1736 1737 @Test(op = Operation.GREATER) 1738 public static boolean testGreater6(int a, int b) { 1739 return compare2(a, b) >= 1; 1740 } 1741 1742 @Test(op = Operation.GREATER) 1743 public static boolean testGreater7(int a, int b) { 1744 return compare3(a, b) == 1; 1745 } 1746 1747 @Test(op = Operation.GREATER) 1748 public static boolean testGreater8(int a, int b) { 1749 return compare3(a, b) > 0; 1750 } 1751 1752 @Test(op = Operation.GREATER) 1753 public static boolean testGreater9(int a, int b) { 1754 return compare3(a, b) >= 1; 1755 } 1756 1757 @Test(op = Operation.GREATER) 1758 public static boolean testGreater10(int a, int b) { 1759 return compare4(a, b) == 1; 1760 } 1761 1762 @Test(op = Operation.GREATER) 1763 public static boolean testGreater11(int a, int b) { 1764 return compare4(a, b) > 0; 1765 } 1766 1767 @Test(op = Operation.GREATER) 1768 public static boolean testGreater12(int a, int b) { 1769 return compare4(a, b) >= 1; 1770 } 1771 1772 @Test(op = Operation.GREATER) 1773 public static boolean testGreater13(int a, int b) { 1774 return compare5(a, b) == 1; 1775 } 1776 1777 @Test(op = Operation.GREATER) 1778 public static boolean testGreater14(int a, int b) { 1779 return compare5(a, b) > 0; 1780 } 1781 1782 @Test(op = Operation.GREATER) 1783 public static boolean testGreater15(int a, int b) { 1784 return compare5(a, b) >= 1; 1785 } 1786 1787 @Test(op = Operation.GREATER) 1788 public static boolean testGreater16(int a, int b) { 1789 return compare6(a, b) == 1; 1790 } 1791 1792 @Test(op = Operation.GREATER) 1793 public static boolean testGreater17(int a, int b) { 1794 return compare6(a, b) > 0; 1795 } 1796 1797 @Test(op = Operation.GREATER) 1798 public static boolean testGreater18(int a, int b) { 1799 return compare6(a, b) >= 1; 1800 } 1801 1802 @Test(op = Operation.GREATER) 1803 public static boolean testGreater19(int a, int b) { 1804 return compare7(a, b) == 1; 1805 } 1806 1807 @Test(op = Operation.GREATER) 1808 public static boolean testGreater20(int a, int b) { 1809 return compare7(a, b) > 0; 1810 } 1811 1812 @Test(op = Operation.GREATER) 1813 public static boolean testGreater21(int a, int b) { 1814 return compare7(a, b) >= 1; 1815 } 1816 1817 @Test(op = Operation.GREATER) 1818 public static boolean testGreater22(int a, int b) { 1819 return compare8(a, b) == 1; 1820 } 1821 1822 @Test(op = Operation.GREATER) 1823 public static boolean testGreater23(int a, int b) { 1824 return compare8(a, b) > 0; 1825 } 1826 1827 @Test(op = Operation.GREATER) 1828 public static boolean testGreater24(int a, int b) { 1829 return compare8(a, b) >= 1; 1830 } 1831 1832 @Test(op = Operation.GREATER) 1833 public static boolean testGreater25(int a, int b) { 1834 return compare9(a, b) == 1; 1835 } 1836 1837 @Test(op = Operation.GREATER) 1838 public static boolean testGreater26(int a, int b) { 1839 return compare9(a, b) > 0; 1840 } 1841 1842 @Test(op = Operation.GREATER) 1843 public static boolean testGreater27(int a, int b) { 1844 return compare9(a, b) >= 1; 1845 } 1846 1847 @Test(op = Operation.GREATER) 1848 public static boolean testGreater28(int a, int b) { 1849 return compare10(a, b) == 1; 1850 } 1851 1852 @Test(op = Operation.GREATER) 1853 public static boolean testGreater29(int a, int b) { 1854 return compare10(a, b) > 0; 1855 } 1856 1857 @Test(op = Operation.GREATER) 1858 public static boolean testGreater30(int a, int b) { 1859 return compare10(a, b) >= 1; 1860 } 1861 1862 @Test(op = Operation.GREATER) 1863 public static boolean testGreater31(int a, int b) { 1864 return compare11(a, b) == 1; 1865 } 1866 1867 @Test(op = Operation.GREATER) 1868 public static boolean testGreater32(int a, int b) { 1869 return compare11(a, b) > 0; 1870 } 1871 1872 @Test(op = Operation.GREATER) 1873 public static boolean testGreater33(int a, int b) { 1874 return compare11(a, b) >= 1; 1875 } 1876 1877 @Test(op = Operation.GREATER) 1878 public static boolean testGreater34(int a, int b) { 1879 return compare12(a, b) == 1; 1880 } 1881 1882 @Test(op = Operation.GREATER) 1883 public static boolean testGreater35(int a, int b) { 1884 return compare12(a, b) > 0; 1885 } 1886 1887 @Test(op = Operation.GREATER) 1888 public static boolean testGreater36(int a, int b) { 1889 return compare12(a, b) >= 1; 1890 } 1891 1892 @Test(op = Operation.GREATER) 1893 public static boolean testGreater37(int a, int b) { 1894 return compare13(a, b) == 1; 1895 } 1896 1897 @Test(op = Operation.GREATER) 1898 public static boolean testGreater38(int a, int b) { 1899 return compare13(a, b) > 0; 1900 } 1901 1902 @Test(op = Operation.GREATER) 1903 public static boolean testGreater39(int a, int b) { 1904 return compare13(a, b) >= 1; 1905 } 1906 1907 @Test(op = Operation.GREATER) 1908 public static boolean testGreater40(int a, int b) { 1909 return compare14(a, b) == 1; 1910 } 1911 1912 @Test(op = Operation.GREATER) 1913 public static boolean testGreater41(int a, int b) { 1914 return compare14(a, b) > 0; 1915 } 1916 1917 @Test(op = Operation.GREATER) 1918 public static boolean testGreater42(int a, int b) { 1919 return compare14(a, b) >= 1; 1920 } 1921 1922 @Test(op = Operation.GREATER) 1923 public static boolean testGreater43(int a, int b) { 1924 return compare15(a, b) == 1; 1925 } 1926 1927 @Test(op = Operation.GREATER) 1928 public static boolean testGreater44(int a, int b) { 1929 return compare15(a, b) > 0; 1930 } 1931 1932 @Test(op = Operation.GREATER) 1933 public static boolean testGreater45(int a, int b) { 1934 return compare15(a, b) >= 1; 1935 } 1936 1937 @Test(op = Operation.GREATER) 1938 public static boolean testGreater46(int a, int b) { 1939 return compare16(a, b) == 1; 1940 } 1941 1942 @Test(op = Operation.GREATER) 1943 public static boolean testGreater47(int a, int b) { 1944 return compare16(a, b) > 0; 1945 } 1946 1947 @Test(op = Operation.GREATER) 1948 public static boolean testGreater48(int a, int b) { 1949 return compare16(a, b) >= 1; 1950 } 1951 1952 @Test(op = Operation.GREATER) 1953 public static boolean testGreater49(int a, int b) { 1954 return compare17(a, b) == 1; 1955 } 1956 1957 @Test(op = Operation.GREATER) 1958 public static boolean testGreater50(int a, int b) { 1959 return compare17(a, b) > 0; 1960 } 1961 1962 @Test(op = Operation.GREATER) 1963 public static boolean testGreater51(int a, int b) { 1964 return compare17(a, b) >= 1; 1965 } 1966 1967 @Test(op = Operation.GREATER) 1968 public static boolean testGreater52(int a, int b) { 1969 return compare18(a, b) == 1; 1970 } 1971 1972 @Test(op = Operation.GREATER) 1973 public static boolean testGreater53(int a, int b) { 1974 return compare18(a, b) > 0; 1975 } 1976 1977 @Test(op = Operation.GREATER) 1978 public static boolean testGreater54(int a, int b) { 1979 return compare18(a, b) >= 1; 1980 } 1981 1982 @Test(op = Operation.GREATER) 1983 public static boolean testGreater55(int a, int b) { 1984 return compare19(a, b) == 1; 1985 } 1986 1987 @Test(op = Operation.GREATER) 1988 public static boolean testGreater56(int a, int b) { 1989 return compare19(a, b) > 0; 1990 } 1991 1992 @Test(op = Operation.GREATER) 1993 public static boolean testGreater57(int a, int b) { 1994 return compare19(a, b) >= 1; 1995 } 1996 1997 @Test(op = Operation.GREATER) 1998 public static boolean testGreater58(int a, int b) { 1999 return compare20(a, b) == 1; 2000 } 2001 2002 @Test(op = Operation.GREATER) 2003 public static boolean testGreater59(int a, int b) { 2004 return compare20(a, b) > 0; 2005 } 2006 2007 @Test(op = Operation.GREATER) 2008 public static boolean testGreater60(int a, int b) { 2009 return compare20(a, b) >= 1; 2010 } 2011 2012 @Test(op = Operation.GREATER) 2013 public static boolean testGreater61(int a, int b) { 2014 return compare21(a, b) == 1; 2015 } 2016 2017 @Test(op = Operation.GREATER) 2018 public static boolean testGreater62(int a, int b) { 2019 return compare21(a, b) > 0; 2020 } 2021 2022 @Test(op = Operation.GREATER) 2023 public static boolean testGreater63(int a, int b) { 2024 return compare21(a, b) >= 1; 2025 } 2026 2027 @Test(op = Operation.GREATER) 2028 public static boolean testGreater64(int a, int b) { 2029 return compare22(a, b) == 1; 2030 } 2031 2032 @Test(op = Operation.GREATER) 2033 public static boolean testGreater65(int a, int b) { 2034 return compare22(a, b) > 0; 2035 } 2036 2037 @Test(op = Operation.GREATER) 2038 public static boolean testGreater66(int a, int b) { 2039 return compare22(a, b) >= 1; 2040 } 2041 2042 @Test(op = Operation.GREATER) 2043 public static boolean testGreater67(int a, int b) { 2044 return compare23(a, b) == 1; 2045 } 2046 2047 @Test(op = Operation.GREATER) 2048 public static boolean testGreater68(int a, int b) { 2049 return compare23(a, b) > 0; 2050 } 2051 2052 @Test(op = Operation.GREATER) 2053 public static boolean testGreater69(int a, int b) { 2054 return compare23(a, b) >= 1; 2055 } 2056 2057 @Test(op = Operation.GREATER) 2058 public static boolean testGreater70(int a, int b) { 2059 return compare24(a, b) == 1; 2060 } 2061 2062 @Test(op = Operation.GREATER) 2063 public static boolean testGreater71(int a, int b) { 2064 return compare24(a, b) > 0; 2065 } 2066 2067 @Test(op = Operation.GREATER) 2068 public static boolean testGreater72(int a, int b) { 2069 return compare24(a, b) >= 1; 2070 } 2071 2072 @Test(op = Operation.GREATER) 2073 public static boolean testGreater73(int a, int b) { 2074 return compare25(a, b) == 1; 2075 } 2076 2077 @Test(op = Operation.GREATER) 2078 public static boolean testGreater74(int a, int b) { 2079 return compare25(a, b) > 0; 2080 } 2081 2082 @Test(op = Operation.GREATER) 2083 public static boolean testGreater75(int a, int b) { 2084 return compare25(a, b) >= 1; 2085 } 2086 2087 @Test(op = Operation.GREATER) 2088 public static boolean testGreater76(int a, int b) { 2089 return compare26(a, b) == 1; 2090 } 2091 2092 @Test(op = Operation.GREATER) 2093 public static boolean testGreater77(int a, int b) { 2094 return compare26(a, b) > 0; 2095 } 2096 2097 @Test(op = Operation.GREATER) 2098 public static boolean testGreater78(int a, int b) { 2099 return compare26(a, b) >= 1; 2100 } 2101 2102 @Test(op = Operation.GREATER) 2103 public static boolean testGreater79(int a, int b) { 2104 return compare27(a, b) == 1; 2105 } 2106 2107 @Test(op = Operation.GREATER) 2108 public static boolean testGreater80(int a, int b) { 2109 return compare27(a, b) > 0; 2110 } 2111 2112 @Test(op = Operation.GREATER) 2113 public static boolean testGreater81(int a, int b) { 2114 return compare27(a, b) >= 1; 2115 } 2116 2117 @Test(op = Operation.GREATER) 2118 public static boolean testGreater82(int a, int b) { 2119 return compare28(a, b) == 1; 2120 } 2121 2122 @Test(op = Operation.GREATER) 2123 public static boolean testGreater83(int a, int b) { 2124 return compare28(a, b) > 0; 2125 } 2126 2127 @Test(op = Operation.GREATER) 2128 public static boolean testGreater84(int a, int b) { 2129 return compare28(a, b) >= 1; 2130 } 2131 2132 @Test(op = Operation.GREATER) 2133 public static boolean testGreater85(int a, int b) { 2134 return compare29(a, b) == 1; 2135 } 2136 2137 @Test(op = Operation.GREATER) 2138 public static boolean testGreater86(int a, int b) { 2139 return compare29(a, b) > 0; 2140 } 2141 2142 @Test(op = Operation.GREATER) 2143 public static boolean testGreater87(int a, int b) { 2144 return compare29(a, b) >= 1; 2145 } 2146 2147 @Test(op = Operation.GREATER) 2148 public static boolean testGreater88(int a, int b) { 2149 return compare30(a, b) == 1; 2150 } 2151 2152 @Test(op = Operation.GREATER) 2153 public static boolean testGreater89(int a, int b) { 2154 return compare30(a, b) > 0; 2155 } 2156 2157 @Test(op = Operation.GREATER) 2158 public static boolean testGreater90(int a, int b) { 2159 return compare30(a, b) >= 1; 2160 } 2161 2162 @Test(op = Operation.GREATER) 2163 public static boolean testGreater91(int a, int b) { 2164 return compare31(a, b) == 1; 2165 } 2166 2167 @Test(op = Operation.GREATER) 2168 public static boolean testGreater92(int a, int b) { 2169 return compare31(a, b) > 0; 2170 } 2171 2172 @Test(op = Operation.GREATER) 2173 public static boolean testGreater93(int a, int b) { 2174 return compare31(a, b) >= 1; 2175 } 2176 2177 @Test(op = Operation.GREATER) 2178 public static boolean testGreater94(int a, int b) { 2179 return compare32(a, b) == 1; 2180 } 2181 2182 @Test(op = Operation.GREATER) 2183 public static boolean testGreater95(int a, int b) { 2184 return compare32(a, b) > 0; 2185 } 2186 2187 @Test(op = Operation.GREATER) 2188 public static boolean testGreater96(int a, int b) { 2189 return compare32(a, b) >= 1; 2190 } 2191 2192 @Test(op = Operation.GREATER) 2193 public static boolean testGreater97(int a, int b) { 2194 return compare33(a, b) == 1; 2195 } 2196 2197 @Test(op = Operation.GREATER) 2198 public static boolean testGreater98(int a, int b) { 2199 return compare33(a, b) > 0; 2200 } 2201 2202 @Test(op = Operation.GREATER) 2203 public static boolean testGreater99(int a, int b) { 2204 return compare33(a, b) >= 1; 2205 } 2206 2207 @Test(op = Operation.GREATER) 2208 public static boolean testGreater100(int a, int b) { 2209 return compare34(a, b) == 1; 2210 } 2211 2212 @Test(op = Operation.GREATER) 2213 public static boolean testGreater101(int a, int b) { 2214 return compare34(a, b) > 0; 2215 } 2216 2217 @Test(op = Operation.GREATER) 2218 public static boolean testGreater102(int a, int b) { 2219 return compare34(a, b) >= 1; 2220 } 2221 2222 @Test(op = Operation.GREATER) 2223 public static boolean testGreater103(int a, int b) { 2224 return compare35(a, b) == 1; 2225 } 2226 2227 @Test(op = Operation.GREATER) 2228 public static boolean testGreater104(int a, int b) { 2229 return compare35(a, b) > 0; 2230 } 2231 2232 @Test(op = Operation.GREATER) 2233 public static boolean testGreater105(int a, int b) { 2234 return compare35(a, b) >= 1; 2235 } 2236 2237 @Test(op = Operation.GREATER) 2238 public static boolean testGreater106(int a, int b) { 2239 return compare36(a, b) == 1; 2240 } 2241 2242 @Test(op = Operation.GREATER) 2243 public static boolean testGreater107(int a, int b) { 2244 return compare36(a, b) > 0; 2245 } 2246 2247 @Test(op = Operation.GREATER) 2248 public static boolean testGreater108(int a, int b) { 2249 return compare36(a, b) >= 1; 2250 } 2251 2252 @Test(op = Operation.GREATER) 2253 public static boolean testGreater109(int a, int b) { 2254 return compare37(a, b) == 1; 2255 } 2256 2257 @Test(op = Operation.GREATER) 2258 public static boolean testGreater110(int a, int b) { 2259 return compare37(a, b) > 0; 2260 } 2261 2262 @Test(op = Operation.GREATER) 2263 public static boolean testGreater111(int a, int b) { 2264 return compare37(a, b) >= 1; 2265 } 2266 2267 @Test(op = Operation.GREATER) 2268 public static boolean testGreater112(int a, int b) { 2269 return compare38(a, b) == 1; 2270 } 2271 2272 @Test(op = Operation.GREATER) 2273 public static boolean testGreater113(int a, int b) { 2274 return compare38(a, b) > 0; 2275 } 2276 2277 @Test(op = Operation.GREATER) 2278 public static boolean testGreater114(int a, int b) { 2279 return compare38(a, b) >= 1; 2280 } 2281 2282 @Test(op = Operation.GREATER) 2283 public static boolean testGreater115(int a, int b) { 2284 return compare39(a, b) == 1; 2285 } 2286 2287 @Test(op = Operation.GREATER) 2288 public static boolean testGreater116(int a, int b) { 2289 return compare39(a, b) > 0; 2290 } 2291 2292 @Test(op = Operation.GREATER) 2293 public static boolean testGreater117(int a, int b) { 2294 return compare39(a, b) >= 1; 2295 } 2296 2297 @Test(op = Operation.GREATER) 2298 public static boolean testGreater118(int a, int b) { 2299 return compare40(a, b) == 1; 2300 } 2301 2302 @Test(op = Operation.GREATER) 2303 public static boolean testGreater119(int a, int b) { 2304 return compare40(a, b) > 0; 2305 } 2306 2307 @Test(op = Operation.GREATER) 2308 public static boolean testGreater120(int a, int b) { 2309 return compare40(a, b) >= 1; 2310 } 2311 2312 @Test(op = Operation.GREATER) 2313 public static boolean testGreater121(int a, int b) { 2314 return compare41(a, b) == 1; 2315 } 2316 2317 @Test(op = Operation.GREATER) 2318 public static boolean testGreater122(int a, int b) { 2319 return compare41(a, b) > 0; 2320 } 2321 2322 @Test(op = Operation.GREATER) 2323 public static boolean testGreater123(int a, int b) { 2324 return compare41(a, b) >= 1; 2325 } 2326 2327 @Test(op = Operation.GREATER) 2328 public static boolean testGreater124(int a, int b) { 2329 return compare42(a, b) == 1; 2330 } 2331 2332 @Test(op = Operation.GREATER) 2333 public static boolean testGreater125(int a, int b) { 2334 return compare42(a, b) > 0; 2335 } 2336 2337 @Test(op = Operation.GREATER) 2338 public static boolean testGreater126(int a, int b) { 2339 return compare42(a, b) >= 1; 2340 } 2341 2342 @Test(op = Operation.GREATER) 2343 public static boolean testGreater127(int a, int b) { 2344 return compare43(a, b) == 1; 2345 } 2346 2347 @Test(op = Operation.GREATER) 2348 public static boolean testGreater128(int a, int b) { 2349 return compare43(a, b) > 0; 2350 } 2351 2352 @Test(op = Operation.GREATER) 2353 public static boolean testGreater129(int a, int b) { 2354 return compare43(a, b) >= 1; 2355 } 2356 2357 @Test(op = Operation.GREATER) 2358 public static boolean testGreater130(int a, int b) { 2359 return compare44(a, b) == 1; 2360 } 2361 2362 @Test(op = Operation.GREATER) 2363 public static boolean testGreater131(int a, int b) { 2364 return compare44(a, b) > 0; 2365 } 2366 2367 @Test(op = Operation.GREATER) 2368 public static boolean testGreater132(int a, int b) { 2369 return compare44(a, b) >= 1; 2370 } 2371 2372 @Test(op = Operation.GREATER) 2373 public static boolean testGreater133(int a, int b) { 2374 return compare45(a, b) == 1; 2375 } 2376 2377 @Test(op = Operation.GREATER) 2378 public static boolean testGreater134(int a, int b) { 2379 return compare45(a, b) > 0; 2380 } 2381 2382 @Test(op = Operation.GREATER) 2383 public static boolean testGreater135(int a, int b) { 2384 return compare45(a, b) >= 1; 2385 } 2386 2387 @Test(op = Operation.GREATER) 2388 public static boolean testGreater136(int a, int b) { 2389 return compare46(a, b) == 1; 2390 } 2391 2392 @Test(op = Operation.GREATER) 2393 public static boolean testGreater137(int a, int b) { 2394 return compare46(a, b) > 0; 2395 } 2396 2397 @Test(op = Operation.GREATER) 2398 public static boolean testGreater138(int a, int b) { 2399 return compare46(a, b) >= 1; 2400 } 2401 2402 @Test(op = Operation.GREATER) 2403 public static boolean testGreater139(int a, int b) { 2404 return compare47(a, b) == 1; 2405 } 2406 2407 @Test(op = Operation.GREATER) 2408 public static boolean testGreater140(int a, int b) { 2409 return compare47(a, b) > 0; 2410 } 2411 2412 @Test(op = Operation.GREATER) 2413 public static boolean testGreater141(int a, int b) { 2414 return compare47(a, b) >= 1; 2415 } 2416 2417 @Test(op = Operation.GREATER) 2418 public static boolean testGreater142(int a, int b) { 2419 return compare48(a, b) == 1; 2420 } 2421 2422 @Test(op = Operation.GREATER) 2423 public static boolean testGreater143(int a, int b) { 2424 return compare48(a, b) > 0; 2425 } 2426 2427 @Test(op = Operation.GREATER) 2428 public static boolean testGreater144(int a, int b) { 2429 return compare48(a, b) >= 1; 2430 } 2431 2432 2433 @Test(op = Operation.ALWAYS_FALSE) 2434 public static boolean testAlwaysFalse1(int a, int b) { 2435 return compareAlwaysFalse1(a, b) == 2; 2436 } 2437 2438 @Test(op = Operation.ALWAYS_FALSE) 2439 public static boolean testAlwaysFalse2(int a, int b) { 2440 return compareAlwaysFalse1(a, b) > 1; 2441 } 2442 2443 @Test(op = Operation.ALWAYS_FALSE) 2444 public static boolean testAlwaysFalse3(int a, int b) { 2445 return compareAlwaysFalse1(a, b) >= 2; 2446 } 2447 2448 @Test(op = Operation.ALWAYS_FALSE) 2449 public static boolean testAlwaysFalse4(int a, int b) { 2450 return compareAlwaysFalse2(a, b) == 2; 2451 } 2452 2453 @Test(op = Operation.ALWAYS_FALSE) 2454 public static boolean testAlwaysFalse5(int a, int b) { 2455 return compareAlwaysFalse2(a, b) > 1; 2456 } 2457 2458 @Test(op = Operation.ALWAYS_FALSE) 2459 public static boolean testAlwaysFalse6(int a, int b) { 2460 return compareAlwaysFalse2(a, b) >= 2; 2461 } 2462 2463 @Test(op = Operation.ALWAYS_FALSE) 2464 public static boolean testAlwaysFalse7(int a, int b) { 2465 return compareAlwaysFalse3(a, b) == 2; 2466 } 2467 2468 @Test(op = Operation.ALWAYS_FALSE) 2469 public static boolean testAlwaysFalse8(int a, int b) { 2470 return compareAlwaysFalse3(a, b) > 1; 2471 } 2472 2473 @Test(op = Operation.ALWAYS_FALSE) 2474 public static boolean testAlwaysFalse9(int a, int b) { 2475 return compareAlwaysFalse3(a, b) >= 2; 2476 } 2477 2478 @Test(op = Operation.ALWAYS_FALSE) 2479 public static boolean testAlwaysFalse10(int a, int b) { 2480 return compareAlwaysFalse4(a, b) == 2; 2481 } 2482 2483 @Test(op = Operation.ALWAYS_FALSE) 2484 public static boolean testAlwaysFalse11(int a, int b) { 2485 return compareAlwaysFalse4(a, b) > 1; 2486 } 2487 2488 @Test(op = Operation.ALWAYS_FALSE) 2489 public static boolean testAlwaysFalse12(int a, int b) { 2490 return compareAlwaysFalse4(a, b) >= 2; 2491 } 2492 2493 public static void main(String[] args) throws Exception { 2494 Random rand = Utils.getRandomInstance(); 2495 for (int i = 0; i < 20_000; ++i) { 2496 int low = rand.nextInt(); 2497 int high = rand.nextInt(); 2498 if (low == high) { 2499 --low; 2500 } 2501 if (low > high) { 2502 int tmp = low; 2503 low = high; 2504 high = tmp; 2505 } 2506 for (Method m : TestTrichotomyExpressions.class.getMethods()) { 2507 if (m.isAnnotationPresent(Test.class)) { 2508 Operation op = m.getAnnotation(Test.class).op(); 2509 boolean result = (boolean)m.invoke(null, low, low); 2510 Asserts.assertEquals(result, (op == Operation.EQUAL || op == Operation.SMALLER_EQUAL || op == Operation.GREATER_EQUAL) ? true : false, m + " failed"); 2511 result = (boolean)m.invoke(null, low, high); 2512 Asserts.assertEquals(result, (op == Operation.SMALLER || op == Operation.SMALLER_EQUAL) ? true : false, m + " failed"); 2513 result = (boolean)m.invoke(null, high, low); 2514 Asserts.assertEquals(result, (op == Operation.GREATER || op == Operation.GREATER_EQUAL) ? true : false, m + " failed"); 2515 } 2516 } 2517 } 2518 } 2519 }