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