How to use assertTrue method of org.junit.Assert class

Best junit code snippet using org.junit.Assert.assertTrue

Source:RegressionTest2.java Github

copy

Full Screen

...17 int i11 = container0.get((-1));18 int i13 = container0.remove((int)(short)10);19 20 // Regression assertion (captures the current behavior of the code)21 org.junit.Assert.assertTrue(i2 == 1);22 23 // Regression assertion (captures the current behavior of the code)24 org.junit.Assert.assertTrue(i4 == 1);25 26 // Regression assertion (captures the current behavior of the code)27 org.junit.Assert.assertTrue(i5 == 1);28 29 // Regression assertion (captures the current behavior of the code)30 org.junit.Assert.assertTrue(i8 == 0);31 32 // Regression assertion (captures the current behavior of the code)33 org.junit.Assert.assertTrue(i11 == 0);34 35 // Regression assertion (captures the current behavior of the code)36 org.junit.Assert.assertTrue(i13 == 0);37 }38 @Test39 public void test002() throws Throwable {40 if (debug) { System.out.format("%n%s%n","RegressionTest2.test002"); }41 container.Container container0 = new container.Container();42 int i2 = container0.put((int)(short)1);43 int i4 = container0.get((int)(byte)10);44 int i6 = container0.remove((int)(short)-1);45 int i8 = container0.remove(10);46 int i10 = container0.get(10);47 int i12 = container0.put(10);48 int i14 = container0.put((int)' ');49 int i16 = container0.remove((int)(byte)-1);50 int i18 = container0.get(3);51 int i20 = container0.get((int)(byte)100);52 int i22 = container0.put((int)(short)-1);53 int i24 = container0.get(3);54 int i25 = container0.size();55 int i27 = container0.get((-1));56 int i29 = container0.remove((int)(short)1);57 int i31 = container0.get((int)(short)-1);58 59 // Regression assertion (captures the current behavior of the code)60 org.junit.Assert.assertTrue(i2 == 1);61 62 // Regression assertion (captures the current behavior of the code)63 org.junit.Assert.assertTrue(i4 == 0);64 65 // Regression assertion (captures the current behavior of the code)66 org.junit.Assert.assertTrue(i6 == 0);67 68 // Regression assertion (captures the current behavior of the code)69 org.junit.Assert.assertTrue(i8 == 0);70 71 // Regression assertion (captures the current behavior of the code)72 org.junit.Assert.assertTrue(i10 == 0);73 74 // Regression assertion (captures the current behavior of the code)75 org.junit.Assert.assertTrue(i12 == 1);76 77 // Regression assertion (captures the current behavior of the code)78 org.junit.Assert.assertTrue(i14 == 1);79 80 // Regression assertion (captures the current behavior of the code)81 org.junit.Assert.assertTrue(i16 == 0);82 83 // Regression assertion (captures the current behavior of the code)84 org.junit.Assert.assertTrue(i18 == 0);85 86 // Regression assertion (captures the current behavior of the code)87 org.junit.Assert.assertTrue(i20 == 0);88 89 // Regression assertion (captures the current behavior of the code)90 org.junit.Assert.assertTrue(i22 == 1);91 92 // Regression assertion (captures the current behavior of the code)93 org.junit.Assert.assertTrue(i24 == 0);94 95 // Regression assertion (captures the current behavior of the code)96 org.junit.Assert.assertTrue(i25 == 4);97 98 // Regression assertion (captures the current behavior of the code)99 org.junit.Assert.assertTrue(i27 == 1);100 101 // Regression assertion (captures the current behavior of the code)102 org.junit.Assert.assertTrue(i29 == 1);103 104 // Regression assertion (captures the current behavior of the code)105 org.junit.Assert.assertTrue(i31 == 1);106 }107 @Test108 public void test003() throws Throwable {109 if (debug) { System.out.format("%n%s%n","RegressionTest2.test003"); }110 container.Container container0 = new container.Container();111 int i2 = container0.put((int)(short)1);112 int i4 = container0.get(1);113 container0.printContainer();114 int i7 = container0.remove((int)'#');115 int i9 = container0.get((int)(byte)0);116 int i11 = container0.put(0);117 int i13 = container0.get((int)(short)10);118 container0.printContainer();119 int i16 = container0.put((int)(short)100);120 container0.printContainer();121 122 // Regression assertion (captures the current behavior of the code)123 org.junit.Assert.assertTrue(i2 == 1);124 125 // Regression assertion (captures the current behavior of the code)126 org.junit.Assert.assertTrue(i4 == 1);127 128 // Regression assertion (captures the current behavior of the code)129 org.junit.Assert.assertTrue(i7 == 0);130 131 // Regression assertion (captures the current behavior of the code)132 org.junit.Assert.assertTrue(i9 == 0);133 134 // Regression assertion (captures the current behavior of the code)135 org.junit.Assert.assertTrue(i11 == 1);136 137 // Regression assertion (captures the current behavior of the code)138 org.junit.Assert.assertTrue(i13 == 0);139 140 // Regression assertion (captures the current behavior of the code)141 org.junit.Assert.assertTrue(i16 == 1);142 }143 @Test144 public void test004() throws Throwable {145 if (debug) { System.out.format("%n%s%n","RegressionTest2.test004"); }146 container.Container container0 = new container.Container();147 int i2 = container0.put((int)(byte)-1);148 int i4 = container0.put((int)(byte)100);149 int i6 = container0.put(100);150 int i8 = container0.put((-1));151 int i10 = container0.get((int)'#');152 container0.printContainer();153 int i13 = container0.remove((int)(short)-1);154 int i15 = container0.get(0);155 int i17 = container0.put((int)' ');156 int i19 = container0.put(2);157 int i21 = container0.remove((int)(byte)100);158 int i23 = container0.put(0);159 int i24 = container0.size();160 161 // Regression assertion (captures the current behavior of the code)162 org.junit.Assert.assertTrue(i2 == 1);163 164 // Regression assertion (captures the current behavior of the code)165 org.junit.Assert.assertTrue(i4 == 1);166 167 // Regression assertion (captures the current behavior of the code)168 org.junit.Assert.assertTrue(i6 == 0);169 170 // Regression assertion (captures the current behavior of the code)171 org.junit.Assert.assertTrue(i8 == 0);172 173 // Regression assertion (captures the current behavior of the code)174 org.junit.Assert.assertTrue(i10 == 0);175 176 // Regression assertion (captures the current behavior of the code)177 org.junit.Assert.assertTrue(i13 == 1);178 179 // Regression assertion (captures the current behavior of the code)180 org.junit.Assert.assertTrue(i15 == 0);181 182 // Regression assertion (captures the current behavior of the code)183 org.junit.Assert.assertTrue(i17 == 1);184 185 // Regression assertion (captures the current behavior of the code)186 org.junit.Assert.assertTrue(i19 == 1);187 188 // Regression assertion (captures the current behavior of the code)189 org.junit.Assert.assertTrue(i21 == 1);190 191 // Regression assertion (captures the current behavior of the code)192 org.junit.Assert.assertTrue(i23 == 1);193 194 // Regression assertion (captures the current behavior of the code)195 org.junit.Assert.assertTrue(i24 == 3);196 }197 @Test198 public void test005() throws Throwable {199 if (debug) { System.out.format("%n%s%n","RegressionTest2.test005"); }200 container.Container container0 = new container.Container();201 int i2 = container0.put((int)(short)1);202 int i4 = container0.get((int)(byte)10);203 int i6 = container0.remove((int)(short)-1);204 int i8 = container0.remove(10);205 int i10 = container0.get(10);206 int i12 = container0.put(10);207 int i14 = container0.put((int)' ');208 int i16 = container0.remove((int)(byte)-1);209 int i18 = container0.put((-1));210 container0.printContainer();211 int i21 = container0.put(0);212 int i22 = container0.size();213 int i24 = container0.remove((int)(byte)10);214 215 // Regression assertion (captures the current behavior of the code)216 org.junit.Assert.assertTrue(i2 == 1);217 218 // Regression assertion (captures the current behavior of the code)219 org.junit.Assert.assertTrue(i4 == 0);220 221 // Regression assertion (captures the current behavior of the code)222 org.junit.Assert.assertTrue(i6 == 0);223 224 // Regression assertion (captures the current behavior of the code)225 org.junit.Assert.assertTrue(i8 == 0);226 227 // Regression assertion (captures the current behavior of the code)228 org.junit.Assert.assertTrue(i10 == 0);229 230 // Regression assertion (captures the current behavior of the code)231 org.junit.Assert.assertTrue(i12 == 1);232 233 // Regression assertion (captures the current behavior of the code)234 org.junit.Assert.assertTrue(i14 == 1);235 236 // Regression assertion (captures the current behavior of the code)237 org.junit.Assert.assertTrue(i16 == 0);238 239 // Regression assertion (captures the current behavior of the code)240 org.junit.Assert.assertTrue(i18 == 1);241 242 // Regression assertion (captures the current behavior of the code)243 org.junit.Assert.assertTrue(i21 == 1);244 245 // Regression assertion (captures the current behavior of the code)246 org.junit.Assert.assertTrue(i22 == 5);247 248 // Regression assertion (captures the current behavior of the code)249 org.junit.Assert.assertTrue(i24 == 1);250 }251 @Test252 public void test006() throws Throwable {253 if (debug) { System.out.format("%n%s%n","RegressionTest2.test006"); }254 container.Container container0 = new container.Container();255 container0.printContainer();256 int i3 = container0.remove((int)(short)100);257 int i4 = container0.size();258 int i5 = container0.size();259 container0.printContainer();260 int i8 = container0.put((int)' ');261 int i10 = container0.get((int)'a');262 263 // Regression assertion (captures the current behavior of the code)264 org.junit.Assert.assertTrue(i3 == 0);265 266 // Regression assertion (captures the current behavior of the code)267 org.junit.Assert.assertTrue(i4 == 0);268 269 // Regression assertion (captures the current behavior of the code)270 org.junit.Assert.assertTrue(i5 == 0);271 272 // Regression assertion (captures the current behavior of the code)273 org.junit.Assert.assertTrue(i8 == 1);274 275 // Regression assertion (captures the current behavior of the code)276 org.junit.Assert.assertTrue(i10 == 0);277 }278 @Test279 public void test007() throws Throwable {280 if (debug) { System.out.format("%n%s%n","RegressionTest2.test007"); }281 container.Container container0 = new container.Container();282 int i2 = container0.put((int)(short)1);283 int i4 = container0.remove(10);284 int i6 = container0.put(1);285 int i7 = container0.size();286 int i9 = container0.get((int)(byte)-1);287 int i11 = container0.get((int)(short)1);288 container0.printContainer();289 290 // Regression assertion (captures the current behavior of the code)291 org.junit.Assert.assertTrue(i2 == 1);292 293 // Regression assertion (captures the current behavior of the code)294 org.junit.Assert.assertTrue(i4 == 0);295 296 // Regression assertion (captures the current behavior of the code)297 org.junit.Assert.assertTrue(i6 == 0);298 299 // Regression assertion (captures the current behavior of the code)300 org.junit.Assert.assertTrue(i7 == 1);301 302 // Regression assertion (captures the current behavior of the code)303 org.junit.Assert.assertTrue(i9 == 0);304 305 // Regression assertion (captures the current behavior of the code)306 org.junit.Assert.assertTrue(i11 == 1);307 }308 @Test309 public void test008() throws Throwable {310 if (debug) { System.out.format("%n%s%n","RegressionTest2.test008"); }311 container.Container container0 = new container.Container();312 int i2 = container0.put((int)(short)1);313 int i4 = container0.get((int)(byte)10);314 int i6 = container0.put((int)(short)1);315 int i8 = container0.get((int)(byte)10);316 int i10 = container0.get((-1));317 int i12 = container0.remove((int)(byte)0);318 int i14 = container0.get((int)(short)10);319 int i16 = container0.get(0);320 int i17 = container0.size();321 int i19 = container0.put(1);322 323 // Regression assertion (captures the current behavior of the code)324 org.junit.Assert.assertTrue(i2 == 1);325 326 // Regression assertion (captures the current behavior of the code)327 org.junit.Assert.assertTrue(i4 == 0);328 329 // Regression assertion (captures the current behavior of the code)330 org.junit.Assert.assertTrue(i6 == 0);331 332 // Regression assertion (captures the current behavior of the code)333 org.junit.Assert.assertTrue(i8 == 0);334 335 // Regression assertion (captures the current behavior of the code)336 org.junit.Assert.assertTrue(i10 == 0);337 338 // Regression assertion (captures the current behavior of the code)339 org.junit.Assert.assertTrue(i12 == 0);340 341 // Regression assertion (captures the current behavior of the code)342 org.junit.Assert.assertTrue(i14 == 0);343 344 // Regression assertion (captures the current behavior of the code)345 org.junit.Assert.assertTrue(i16 == 0);346 347 // Regression assertion (captures the current behavior of the code)348 org.junit.Assert.assertTrue(i17 == 1);349 350 // Regression assertion (captures the current behavior of the code)351 org.junit.Assert.assertTrue(i19 == 0);352 }353 @Test354 public void test009() throws Throwable {355 if (debug) { System.out.format("%n%s%n","RegressionTest2.test009"); }356 container.Container container0 = new container.Container();357 int i2 = container0.put((int)(short)1);358 int i4 = container0.get(1);359 int i5 = container0.size();360 container0.printContainer();361 int i7 = container0.size();362 int i9 = container0.put((int)(byte)0);363 container0.printContainer();364 int i12 = container0.remove((int)' ');365 int i14 = container0.get(100);366 int i16 = container0.remove(1);367 int i18 = container0.put((int)(short)10);368 int i20 = container0.remove(100);369 370 // Regression assertion (captures the current behavior of the code)371 org.junit.Assert.assertTrue(i2 == 1);372 373 // Regression assertion (captures the current behavior of the code)374 org.junit.Assert.assertTrue(i4 == 1);375 376 // Regression assertion (captures the current behavior of the code)377 org.junit.Assert.assertTrue(i5 == 1);378 379 // Regression assertion (captures the current behavior of the code)380 org.junit.Assert.assertTrue(i7 == 1);381 382 // Regression assertion (captures the current behavior of the code)383 org.junit.Assert.assertTrue(i9 == 1);384 385 // Regression assertion (captures the current behavior of the code)386 org.junit.Assert.assertTrue(i12 == 0);387 388 // Regression assertion (captures the current behavior of the code)389 org.junit.Assert.assertTrue(i14 == 0);390 391 // Regression assertion (captures the current behavior of the code)392 org.junit.Assert.assertTrue(i16 == 1);393 394 // Regression assertion (captures the current behavior of the code)395 org.junit.Assert.assertTrue(i18 == 1);396 397 // Regression assertion (captures the current behavior of the code)398 org.junit.Assert.assertTrue(i20 == 0);399 }400 @Test401 public void test010() throws Throwable {402 if (debug) { System.out.format("%n%s%n","RegressionTest2.test010"); }403 container.Container container0 = new container.Container();404 container0.printContainer();405 int i3 = container0.remove((int)(short)100);406 int i4 = container0.size();407 int i5 = container0.size();408 int i6 = container0.size();409 int i8 = container0.remove((int)(byte)1);410 int i9 = container0.size();411 int i11 = container0.get((int)(byte)0);412 413 // Regression assertion (captures the current behavior of the code)414 org.junit.Assert.assertTrue(i3 == 0);415 416 // Regression assertion (captures the current behavior of the code)417 org.junit.Assert.assertTrue(i4 == 0);418 419 // Regression assertion (captures the current behavior of the code)420 org.junit.Assert.assertTrue(i5 == 0);421 422 // Regression assertion (captures the current behavior of the code)423 org.junit.Assert.assertTrue(i6 == 0);424 425 // Regression assertion (captures the current behavior of the code)426 org.junit.Assert.assertTrue(i8 == 0);427 428 // Regression assertion (captures the current behavior of the code)429 org.junit.Assert.assertTrue(i9 == 0);430 431 // Regression assertion (captures the current behavior of the code)432 org.junit.Assert.assertTrue(i11 == 0);433 }434 @Test435 public void test011() throws Throwable {436 if (debug) { System.out.format("%n%s%n","RegressionTest2.test011"); }437 container.Container container0 = new container.Container();438 int i2 = container0.put((int)(short)1);439 int i4 = container0.get(1);440 int i5 = container0.size();441 int i7 = container0.remove((int)(byte)0);442 int i9 = container0.remove((int)(byte)0);443 int i11 = container0.get(2);444 int i13 = container0.get((int)(byte)0);445 int i15 = container0.get(0);446 container0.printContainer();447 448 // Regression assertion (captures the current behavior of the code)449 org.junit.Assert.assertTrue(i2 == 1);450 451 // Regression assertion (captures the current behavior of the code)452 org.junit.Assert.assertTrue(i4 == 1);453 454 // Regression assertion (captures the current behavior of the code)455 org.junit.Assert.assertTrue(i5 == 1);456 457 // Regression assertion (captures the current behavior of the code)458 org.junit.Assert.assertTrue(i7 == 0);459 460 // Regression assertion (captures the current behavior of the code)461 org.junit.Assert.assertTrue(i9 == 0);462 463 // Regression assertion (captures the current behavior of the code)464 org.junit.Assert.assertTrue(i11 == 0);465 466 // Regression assertion (captures the current behavior of the code)467 org.junit.Assert.assertTrue(i13 == 0);468 469 // Regression assertion (captures the current behavior of the code)470 org.junit.Assert.assertTrue(i15 == 0);471 }472 @Test473 public void test012() throws Throwable {474 if (debug) { System.out.format("%n%s%n","RegressionTest2.test012"); }475 container.Container container0 = new container.Container();476 int i2 = container0.put((int)(short)1);477 int i4 = container0.get(1);478 int i5 = container0.size();479 container0.printContainer();480 int i7 = container0.size();481 int i9 = container0.remove(100);482 int i11 = container0.put((int)(byte)1);483 int i13 = container0.remove(100);484 container0.printContainer();485 486 // Regression assertion (captures the current behavior of the code)487 org.junit.Assert.assertTrue(i2 == 1);488 489 // Regression assertion (captures the current behavior of the code)490 org.junit.Assert.assertTrue(i4 == 1);491 492 // Regression assertion (captures the current behavior of the code)493 org.junit.Assert.assertTrue(i5 == 1);494 495 // Regression assertion (captures the current behavior of the code)496 org.junit.Assert.assertTrue(i7 == 1);497 498 // Regression assertion (captures the current behavior of the code)499 org.junit.Assert.assertTrue(i9 == 0);500 501 // Regression assertion (captures the current behavior of the code)502 org.junit.Assert.assertTrue(i11 == 0);503 504 // Regression assertion (captures the current behavior of the code)505 org.junit.Assert.assertTrue(i13 == 0);506 }507 @Test508 public void test013() throws Throwable {509 if (debug) { System.out.format("%n%s%n","RegressionTest2.test013"); }510 container.Container container0 = new container.Container();511 int i2 = container0.put((int)(short)1);512 int i4 = container0.get((int)(byte)10);513 int i6 = container0.remove((int)(short)-1);514 int i8 = container0.remove(10);515 int i10 = container0.get(10);516 int i12 = container0.put(10);517 container0.printContainer();518 int i15 = container0.get((int)(short)10);519 int i17 = container0.get((-1));520 int i19 = container0.put((int)(short)0);521 522 // Regression assertion (captures the current behavior of the code)523 org.junit.Assert.assertTrue(i2 == 1);524 525 // Regression assertion (captures the current behavior of the code)526 org.junit.Assert.assertTrue(i4 == 0);527 528 // Regression assertion (captures the current behavior of the code)529 org.junit.Assert.assertTrue(i6 == 0);530 531 // Regression assertion (captures the current behavior of the code)532 org.junit.Assert.assertTrue(i8 == 0);533 534 // Regression assertion (captures the current behavior of the code)535 org.junit.Assert.assertTrue(i10 == 0);536 537 // Regression assertion (captures the current behavior of the code)538 org.junit.Assert.assertTrue(i12 == 1);539 540 // Regression assertion (captures the current behavior of the code)541 org.junit.Assert.assertTrue(i15 == 1);542 543 // Regression assertion (captures the current behavior of the code)544 org.junit.Assert.assertTrue(i17 == 0);545 546 // Regression assertion (captures the current behavior of the code)547 org.junit.Assert.assertTrue(i19 == 1);548 }549 @Test550 public void test014() throws Throwable {551 if (debug) { System.out.format("%n%s%n","RegressionTest2.test014"); }552 container.Container container0 = new container.Container();553 int i2 = container0.put((int)(short)1);554 int i4 = container0.get(1);555 int i6 = container0.put(0);556 int i8 = container0.get((int)(byte)1);557 container0.printContainer();558 int i11 = container0.get(0);559 container0.printContainer();560 int i14 = container0.put((int)'4');561 container0.printContainer();562 int i17 = container0.remove(0);563 int i19 = container0.remove((int)(short)-1);564 int i20 = container0.size();565 566 // Regression assertion (captures the current behavior of the code)567 org.junit.Assert.assertTrue(i2 == 1);568 569 // Regression assertion (captures the current behavior of the code)570 org.junit.Assert.assertTrue(i4 == 1);571 572 // Regression assertion (captures the current behavior of the code)573 org.junit.Assert.assertTrue(i6 == 1);574 575 // Regression assertion (captures the current behavior of the code)576 org.junit.Assert.assertTrue(i8 == 1);577 578 // Regression assertion (captures the current behavior of the code)579 org.junit.Assert.assertTrue(i11 == 1);580 581 // Regression assertion (captures the current behavior of the code)582 org.junit.Assert.assertTrue(i14 == 1);583 584 // Regression assertion (captures the current behavior of the code)585 org.junit.Assert.assertTrue(i17 == 1);586 587 // Regression assertion (captures the current behavior of the code)588 org.junit.Assert.assertTrue(i19 == 0);589 590 // Regression assertion (captures the current behavior of the code)591 org.junit.Assert.assertTrue(i20 == 2);592 }593 @Test594 public void test015() throws Throwable {595 if (debug) { System.out.format("%n%s%n","RegressionTest2.test015"); }596 container.Container container0 = new container.Container();597 int i2 = container0.put((int)(short)1);598 int i4 = container0.get((int)(byte)10);599 int i6 = container0.put((int)(short)1);600 container0.printContainer();601 container0.printContainer();602 int i10 = container0.remove((int)(short)-1);603 int i11 = container0.size();604 int i13 = container0.put(4);605 int i15 = container0.get(0);606 607 // Regression assertion (captures the current behavior of the code)608 org.junit.Assert.assertTrue(i2 == 1);609 610 // Regression assertion (captures the current behavior of the code)611 org.junit.Assert.assertTrue(i4 == 0);612 613 // Regression assertion (captures the current behavior of the code)614 org.junit.Assert.assertTrue(i6 == 0);615 616 // Regression assertion (captures the current behavior of the code)617 org.junit.Assert.assertTrue(i10 == 0);618 619 // Regression assertion (captures the current behavior of the code)620 org.junit.Assert.assertTrue(i11 == 1);621 622 // Regression assertion (captures the current behavior of the code)623 org.junit.Assert.assertTrue(i13 == 1);624 625 // Regression assertion (captures the current behavior of the code)626 org.junit.Assert.assertTrue(i15 == 0);627 }628 @Test629 public void test016() throws Throwable {630 if (debug) { System.out.format("%n%s%n","RegressionTest2.test016"); }631 container.Container container0 = new container.Container();632 int i2 = container0.put((int)(short)1);633 int i4 = container0.get(1);634 container0.printContainer();635 container0.printContainer();636 int i8 = container0.get((int)(short)-1);637 int i10 = container0.get(100);638 int i12 = container0.put(10);639 int i14 = container0.put((int)(byte)100);640 container0.printContainer();641 int i17 = container0.remove((int)' ');642 int i18 = container0.size();643 int i20 = container0.put(10);644 645 // Regression assertion (captures the current behavior of the code)646 org.junit.Assert.assertTrue(i2 == 1);647 648 // Regression assertion (captures the current behavior of the code)649 org.junit.Assert.assertTrue(i4 == 1);650 651 // Regression assertion (captures the current behavior of the code)652 org.junit.Assert.assertTrue(i8 == 0);653 654 // Regression assertion (captures the current behavior of the code)655 org.junit.Assert.assertTrue(i10 == 0);656 657 // Regression assertion (captures the current behavior of the code)658 org.junit.Assert.assertTrue(i12 == 1);659 660 // Regression assertion (captures the current behavior of the code)661 org.junit.Assert.assertTrue(i14 == 1);662 663 // Regression assertion (captures the current behavior of the code)664 org.junit.Assert.assertTrue(i17 == 0);665 666 // Regression assertion (captures the current behavior of the code)667 org.junit.Assert.assertTrue(i18 == 3);668 669 // Regression assertion (captures the current behavior of the code)670 org.junit.Assert.assertTrue(i20 == 0);671 }672 @Test673 public void test017() throws Throwable {674 if (debug) { System.out.format("%n%s%n","RegressionTest2.test017"); }675 container.Container container0 = new container.Container();676 int i2 = container0.put((int)(short)1);677 int i4 = container0.get(1);678 int i6 = container0.put(0);679 int i8 = container0.get(0);680 int i10 = container0.remove(1);681 int i12 = container0.get((int)(short)10);682 container0.printContainer();683 684 // Regression assertion (captures the current behavior of the code)685 org.junit.Assert.assertTrue(i2 == 1);686 687 // Regression assertion (captures the current behavior of the code)688 org.junit.Assert.assertTrue(i4 == 1);689 690 // Regression assertion (captures the current behavior of the code)691 org.junit.Assert.assertTrue(i6 == 1);692 693 // Regression assertion (captures the current behavior of the code)694 org.junit.Assert.assertTrue(i8 == 1);695 696 // Regression assertion (captures the current behavior of the code)697 org.junit.Assert.assertTrue(i10 == 1);698 699 // Regression assertion (captures the current behavior of the code)700 org.junit.Assert.assertTrue(i12 == 0);701 }702 @Test703 public void test018() throws Throwable {704 if (debug) { System.out.format("%n%s%n","RegressionTest2.test018"); }705 container.Container container0 = new container.Container();706 int i2 = container0.put((int)(short)1);707 int i4 = container0.put((int)(short)0);708 int i6 = container0.put((int)'a');709 container0.printContainer();710 int i9 = container0.get((int)(short)1);711 container0.printContainer();712 int i12 = container0.remove((int)(byte)0);713 714 // Regression assertion (captures the current behavior of the code)715 org.junit.Assert.assertTrue(i2 == 1);716 717 // Regression assertion (captures the current behavior of the code)718 org.junit.Assert.assertTrue(i4 == 1);719 720 // Regression assertion (captures the current behavior of the code)721 org.junit.Assert.assertTrue(i6 == 1);722 723 // Regression assertion (captures the current behavior of the code)724 org.junit.Assert.assertTrue(i9 == 1);725 726 // Regression assertion (captures the current behavior of the code)727 org.junit.Assert.assertTrue(i12 == 1);728 }729 @Test730 public void test019() throws Throwable {731 if (debug) { System.out.format("%n%s%n","RegressionTest2.test019"); }732 container.Container container0 = new container.Container();733 int i2 = container0.put((int)(short)1);734 int i4 = container0.get((int)(byte)10);735 int i6 = container0.remove((int)(short)-1);736 int i8 = container0.remove(10);737 int i10 = container0.get(10);738 int i12 = container0.put(10);739 int i14 = container0.put((int)' ');740 int i16 = container0.remove((int)(byte)-1);741 int i18 = container0.get(3);742 int i20 = container0.get((int)(byte)100);743 int i22 = container0.put((int)(short)10);744 container0.printContainer();745 int i25 = container0.get(0);746 int i27 = container0.put(0);747 748 // Regression assertion (captures the current behavior of the code)749 org.junit.Assert.assertTrue(i2 == 1);750 751 // Regression assertion (captures the current behavior of the code)752 org.junit.Assert.assertTrue(i4 == 0);753 754 // Regression assertion (captures the current behavior of the code)755 org.junit.Assert.assertTrue(i6 == 0);756 757 // Regression assertion (captures the current behavior of the code)758 org.junit.Assert.assertTrue(i8 == 0);759 760 // Regression assertion (captures the current behavior of the code)761 org.junit.Assert.assertTrue(i10 == 0);762 763 // Regression assertion (captures the current behavior of the code)764 org.junit.Assert.assertTrue(i12 == 1);765 766 // Regression assertion (captures the current behavior of the code)767 org.junit.Assert.assertTrue(i14 == 1);768 769 // Regression assertion (captures the current behavior of the code)770 org.junit.Assert.assertTrue(i16 == 0);771 772 // Regression assertion (captures the current behavior of the code)773 org.junit.Assert.assertTrue(i18 == 0);774 775 // Regression assertion (captures the current behavior of the code)776 org.junit.Assert.assertTrue(i20 == 0);777 778 // Regression assertion (captures the current behavior of the code)779 org.junit.Assert.assertTrue(i22 == 0);780 781 // Regression assertion (captures the current behavior of the code)782 org.junit.Assert.assertTrue(i25 == 0);783 784 // Regression assertion (captures the current behavior of the code)785 org.junit.Assert.assertTrue(i27 == 1);786 }787 @Test788 public void test020() throws Throwable {789 if (debug) { System.out.format("%n%s%n","RegressionTest2.test020"); }790 container.Container container0 = new container.Container();791 int i2 = container0.put((int)(short)1);792 int i4 = container0.get((int)(byte)10);793 container0.printContainer();794 int i7 = container0.remove((int)(byte)10);795 int i9 = container0.get((-1));796 int i11 = container0.put((int)(byte)100);797 int i13 = container0.get((int)(byte)0);798 int i15 = container0.get((int)'4');799 int i17 = container0.put((int)'a');800 801 // Regression assertion (captures the current behavior of the code)802 org.junit.Assert.assertTrue(i2 == 1);803 804 // Regression assertion (captures the current behavior of the code)805 org.junit.Assert.assertTrue(i4 == 0);806 807 // Regression assertion (captures the current behavior of the code)808 org.junit.Assert.assertTrue(i7 == 0);809 810 // Regression assertion (captures the current behavior of the code)811 org.junit.Assert.assertTrue(i9 == 0);812 813 // Regression assertion (captures the current behavior of the code)814 org.junit.Assert.assertTrue(i11 == 1);815 816 // Regression assertion (captures the current behavior of the code)817 org.junit.Assert.assertTrue(i13 == 0);818 819 // Regression assertion (captures the current behavior of the code)820 org.junit.Assert.assertTrue(i15 == 0);821 822 // Regression assertion (captures the current behavior of the code)823 org.junit.Assert.assertTrue(i17 == 1);824 }825 @Test826 public void test021() throws Throwable {827 if (debug) { System.out.format("%n%s%n","RegressionTest2.test021"); }828 container.Container container0 = new container.Container();829 int i2 = container0.put((int)(short)1);830 int i4 = container0.get(1);831 container0.printContainer();832 int i6 = container0.size();833 int i8 = container0.remove((int)(byte)1);834 int i10 = container0.put((int)(short)1);835 int i12 = container0.remove(0);836 int i14 = container0.put((int)(byte)10);837 container0.printContainer();838 container0.printContainer();839 840 // Regression assertion (captures the current behavior of the code)841 org.junit.Assert.assertTrue(i2 == 1);842 843 // Regression assertion (captures the current behavior of the code)844 org.junit.Assert.assertTrue(i4 == 1);845 846 // Regression assertion (captures the current behavior of the code)847 org.junit.Assert.assertTrue(i6 == 1);848 849 // Regression assertion (captures the current behavior of the code)850 org.junit.Assert.assertTrue(i8 == 1);851 852 // Regression assertion (captures the current behavior of the code)853 org.junit.Assert.assertTrue(i10 == 1);854 855 // Regression assertion (captures the current behavior of the code)856 org.junit.Assert.assertTrue(i12 == 0);857 858 // Regression assertion (captures the current behavior of the code)859 org.junit.Assert.assertTrue(i14 == 1);860 }861 @Test862 public void test022() throws Throwable {863 if (debug) { System.out.format("%n%s%n","RegressionTest2.test022"); }864 container.Container container0 = new container.Container();865 int i2 = container0.put((int)(short)1);866 int i4 = container0.get(1);867 container0.printContainer();868 container0.printContainer();869 int i8 = container0.get((int)(short)-1);870 int i10 = container0.get(100);871 int i12 = container0.put(10);872 int i14 = container0.put((int)(byte)100);873 container0.printContainer();874 int i17 = container0.remove((int)' ');875 container0.printContainer();876 int i20 = container0.get((int)(byte)-1);877 878 // Regression assertion (captures the current behavior of the code)879 org.junit.Assert.assertTrue(i2 == 1);880 881 // Regression assertion (captures the current behavior of the code)882 org.junit.Assert.assertTrue(i4 == 1);883 884 // Regression assertion (captures the current behavior of the code)885 org.junit.Assert.assertTrue(i8 == 0);886 887 // Regression assertion (captures the current behavior of the code)888 org.junit.Assert.assertTrue(i10 == 0);889 890 // Regression assertion (captures the current behavior of the code)891 org.junit.Assert.assertTrue(i12 == 1);892 893 // Regression assertion (captures the current behavior of the code)894 org.junit.Assert.assertTrue(i14 == 1);895 896 // Regression assertion (captures the current behavior of the code)897 org.junit.Assert.assertTrue(i17 == 0);898 899 // Regression assertion (captures the current behavior of the code)900 org.junit.Assert.assertTrue(i20 == 0);901 }902 @Test903 public void test023() throws Throwable {904 if (debug) { System.out.format("%n%s%n","RegressionTest2.test023"); }905 container.Container container0 = new container.Container();906 int i2 = container0.put((int)(short)1);907 int i4 = container0.get(1);908 int i6 = container0.put(0);909 int i8 = container0.get((int)(byte)1);910 int i10 = container0.get((-1));911 int i11 = container0.size();912 913 // Regression assertion (captures the current behavior of the code)914 org.junit.Assert.assertTrue(i2 == 1);915 916 // Regression assertion (captures the current behavior of the code)917 org.junit.Assert.assertTrue(i4 == 1);918 919 // Regression assertion (captures the current behavior of the code)920 org.junit.Assert.assertTrue(i6 == 1);921 922 // Regression assertion (captures the current behavior of the code)923 org.junit.Assert.assertTrue(i8 == 1);924 925 // Regression assertion (captures the current behavior of the code)926 org.junit.Assert.assertTrue(i10 == 0);927 928 // Regression assertion (captures the current behavior of the code)929 org.junit.Assert.assertTrue(i11 == 2);930 }931 @Test932 public void test024() throws Throwable {933 if (debug) { System.out.format("%n%s%n","RegressionTest2.test024"); }934 container.Container container0 = new container.Container();935 int i2 = container0.put((int)(short)1);936 int i4 = container0.get(1);937 int i5 = container0.size();938 container0.printContainer();939 int i7 = container0.size();940 int i9 = container0.put((int)(byte)0);941 int i11 = container0.put(4);942 int i13 = container0.remove((int)' ');943 944 // Regression assertion (captures the current behavior of the code)945 org.junit.Assert.assertTrue(i2 == 1);946 947 // Regression assertion (captures the current behavior of the code)948 org.junit.Assert.assertTrue(i4 == 1);949 950 // Regression assertion (captures the current behavior of the code)951 org.junit.Assert.assertTrue(i5 == 1);952 953 // Regression assertion (captures the current behavior of the code)954 org.junit.Assert.assertTrue(i7 == 1);955 956 // Regression assertion (captures the current behavior of the code)957 org.junit.Assert.assertTrue(i9 == 1);958 959 // Regression assertion (captures the current behavior of the code)960 org.junit.Assert.assertTrue(i11 == 1);961 962 // Regression assertion (captures the current behavior of the code)963 org.junit.Assert.assertTrue(i13 == 0);964 }965 @Test966 public void test025() throws Throwable {967 if (debug) { System.out.format("%n%s%n","RegressionTest2.test025"); }968 container.Container container0 = new container.Container();969 int i2 = container0.put((int)(short)1);970 int i4 = container0.get(1);971 container0.printContainer();972 container0.printContainer();973 int i8 = container0.get((int)(byte)10);974 int i10 = container0.get((int)(byte)100);975 container0.printContainer();976 container0.printContainer();977 int i14 = container0.get(0);978 int i15 = container0.size();979 int i16 = container0.size();980 int i18 = container0.remove((int)(short)10);981 982 // Regression assertion (captures the current behavior of the code)983 org.junit.Assert.assertTrue(i2 == 1);984 985 // Regression assertion (captures the current behavior of the code)986 org.junit.Assert.assertTrue(i4 == 1);987 988 // Regression assertion (captures the current behavior of the code)989 org.junit.Assert.assertTrue(i8 == 0);990 991 // Regression assertion (captures the current behavior of the code)992 org.junit.Assert.assertTrue(i10 == 0);993 994 // Regression assertion (captures the current behavior of the code)995 org.junit.Assert.assertTrue(i14 == 0);996 997 // Regression assertion (captures the current behavior of the code)998 org.junit.Assert.assertTrue(i15 == 1);999 1000 // Regression assertion (captures the current behavior of the code)1001 org.junit.Assert.assertTrue(i16 == 1);1002 1003 // Regression assertion (captures the current behavior of the code)1004 org.junit.Assert.assertTrue(i18 == 0);1005 }1006 @Test1007 public void test026() throws Throwable {1008 if (debug) { System.out.format("%n%s%n","RegressionTest2.test026"); }1009 container.Container container0 = new container.Container();1010 container0.printContainer();1011 int i3 = container0.remove((int)'a');1012 int i5 = container0.remove(1);1013 container0.printContainer();1014 int i7 = container0.size();1015 1016 // Regression assertion (captures the current behavior of the code)1017 org.junit.Assert.assertTrue(i3 == 0);1018 1019 // Regression assertion (captures the current behavior of the code)1020 org.junit.Assert.assertTrue(i5 == 0);1021 1022 // Regression assertion (captures the current behavior of the code)1023 org.junit.Assert.assertTrue(i7 == 0);1024 }1025 @Test1026 public void test027() throws Throwable {1027 if (debug) { System.out.format("%n%s%n","RegressionTest2.test027"); }1028 container.Container container0 = new container.Container();1029 container0.printContainer();1030 int i3 = container0.remove((int)(short)100);1031 int i4 = container0.size();1032 int i6 = container0.put((int)(byte)-1);1033 int i7 = container0.size();1034 int i9 = container0.remove(3);1035 1036 // Regression assertion (captures the current behavior of the code)1037 org.junit.Assert.assertTrue(i3 == 0);1038 1039 // Regression assertion (captures the current behavior of the code)1040 org.junit.Assert.assertTrue(i4 == 0);1041 1042 // Regression assertion (captures the current behavior of the code)1043 org.junit.Assert.assertTrue(i6 == 1);1044 1045 // Regression assertion (captures the current behavior of the code)1046 org.junit.Assert.assertTrue(i7 == 1);1047 1048 // Regression assertion (captures the current behavior of the code)1049 org.junit.Assert.assertTrue(i9 == 0);1050 }1051 @Test1052 public void test028() throws Throwable {1053 if (debug) { System.out.format("%n%s%n","RegressionTest2.test028"); }1054 container.Container container0 = new container.Container();1055 int i2 = container0.put((int)(short)1);1056 int i4 = container0.get(1);1057 container0.printContainer();1058 container0.printContainer();1059 int i8 = container0.get((int)(byte)10);1060 int i10 = container0.get((int)(byte)100);1061 container0.printContainer();1062 int i13 = container0.put((int)(short)100);1063 int i15 = container0.put((int)(short)10);1064 int i17 = container0.get((int)(byte)10);1065 int i19 = container0.remove(3);1066 int i21 = container0.put((int)(byte)10);1067 1068 // Regression assertion (captures the current behavior of the code)1069 org.junit.Assert.assertTrue(i2 == 1);1070 1071 // Regression assertion (captures the current behavior of the code)1072 org.junit.Assert.assertTrue(i4 == 1);1073 1074 // Regression assertion (captures the current behavior of the code)1075 org.junit.Assert.assertTrue(i8 == 0);1076 1077 // Regression assertion (captures the current behavior of the code)1078 org.junit.Assert.assertTrue(i10 == 0);1079 1080 // Regression assertion (captures the current behavior of the code)1081 org.junit.Assert.assertTrue(i13 == 1);1082 1083 // Regression assertion (captures the current behavior of the code)1084 org.junit.Assert.assertTrue(i15 == 1);1085 1086 // Regression assertion (captures the current behavior of the code)1087 org.junit.Assert.assertTrue(i17 == 1);1088 1089 // Regression assertion (captures the current behavior of the code)1090 org.junit.Assert.assertTrue(i19 == 0);1091 1092 // Regression assertion (captures the current behavior of the code)1093 org.junit.Assert.assertTrue(i21 == 0);1094 }1095 @Test1096 public void test029() throws Throwable {1097 if (debug) { System.out.format("%n%s%n","RegressionTest2.test029"); }1098 container.Container container0 = new container.Container();1099 int i2 = container0.put((int)(short)1);1100 int i4 = container0.get(1);1101 int i5 = container0.size();1102 container0.printContainer();1103 int i7 = container0.size();1104 int i9 = container0.put((int)(byte)0);1105 int i10 = container0.size();1106 int i12 = container0.get((int)'a');1107 1108 // Regression assertion (captures the current behavior of the code)1109 org.junit.Assert.assertTrue(i2 == 1);1110 1111 // Regression assertion (captures the current behavior of the code)1112 org.junit.Assert.assertTrue(i4 == 1);1113 1114 // Regression assertion (captures the current behavior of the code)1115 org.junit.Assert.assertTrue(i5 == 1);1116 1117 // Regression assertion (captures the current behavior of the code)1118 org.junit.Assert.assertTrue(i7 == 1);1119 1120 // Regression assertion (captures the current behavior of the code)1121 org.junit.Assert.assertTrue(i9 == 1);1122 1123 // Regression assertion (captures the current behavior of the code)1124 org.junit.Assert.assertTrue(i10 == 2);1125 1126 // Regression assertion (captures the current behavior of the code)1127 org.junit.Assert.assertTrue(i12 == 0);1128 }1129 @Test1130 public void test030() throws Throwable {1131 if (debug) { System.out.format("%n%s%n","RegressionTest2.test030"); }1132 container.Container container0 = new container.Container();1133 int i2 = container0.put((int)(short)1);1134 int i4 = container0.get(1);1135 container0.printContainer();1136 int i6 = container0.size();1137 int i8 = container0.remove((int)(byte)1);1138 int i10 = container0.put(10);1139 int i11 = container0.size();1140 container0.printContainer();1141 1142 // Regression assertion (captures the current behavior of the code)1143 org.junit.Assert.assertTrue(i2 == 1);1144 1145 // Regression assertion (captures the current behavior of the code)1146 org.junit.Assert.assertTrue(i4 == 1);1147 1148 // Regression assertion (captures the current behavior of the code)1149 org.junit.Assert.assertTrue(i6 == 1);1150 1151 // Regression assertion (captures the current behavior of the code)1152 org.junit.Assert.assertTrue(i8 == 1);1153 1154 // Regression assertion (captures the current behavior of the code)1155 org.junit.Assert.assertTrue(i10 == 1);1156 1157 // Regression assertion (captures the current behavior of the code)1158 org.junit.Assert.assertTrue(i11 == 1);1159 }1160 @Test1161 public void test031() throws Throwable {1162 if (debug) { System.out.format("%n%s%n","RegressionTest2.test031"); }1163 container.Container container0 = new container.Container();1164 int i2 = container0.put((int)(short)1);1165 int i4 = container0.get((int)(byte)10);1166 int i6 = container0.remove((int)(short)-1);1167 int i8 = container0.put(100);1168 int i10 = container0.get((int)'4');1169 int i12 = container0.get((int)(byte)10);1170 int i13 = container0.size();1171 1172 // Regression assertion (captures the current behavior of the code)1173 org.junit.Assert.assertTrue(i2 == 1);1174 1175 // Regression assertion (captures the current behavior of the code)1176 org.junit.Assert.assertTrue(i4 == 0);1177 1178 // Regression assertion (captures the current behavior of the code)1179 org.junit.Assert.assertTrue(i6 == 0);1180 1181 // Regression assertion (captures the current behavior of the code)1182 org.junit.Assert.assertTrue(i8 == 1);1183 1184 // Regression assertion (captures the current behavior of the code)1185 org.junit.Assert.assertTrue(i10 == 0);1186 1187 // Regression assertion (captures the current behavior of the code)1188 org.junit.Assert.assertTrue(i12 == 0);1189 1190 // Regression assertion (captures the current behavior of the code)1191 org.junit.Assert.assertTrue(i13 == 2);1192 }1193 @Test1194 public void test032() throws Throwable {1195 if (debug) { System.out.format("%n%s%n","RegressionTest2.test032"); }1196 container.Container container0 = new container.Container();1197 int i2 = container0.put((int)(short)1);1198 int i4 = container0.get(1);1199 container0.printContainer();1200 container0.printContainer();1201 int i8 = container0.get((int)(byte)10);1202 int i10 = container0.get((int)(byte)100);1203 container0.printContainer();1204 int i13 = container0.remove(4);1205 int i14 = container0.size();1206 int i15 = container0.size();1207 int i17 = container0.put(2);1208 1209 // Regression assertion (captures the current behavior of the code)1210 org.junit.Assert.assertTrue(i2 == 1);1211 1212 // Regression assertion (captures the current behavior of the code)1213 org.junit.Assert.assertTrue(i4 == 1);1214 1215 // Regression assertion (captures the current behavior of the code)1216 org.junit.Assert.assertTrue(i8 == 0);1217 1218 // Regression assertion (captures the current behavior of the code)1219 org.junit.Assert.assertTrue(i10 == 0);1220 1221 // Regression assertion (captures the current behavior of the code)1222 org.junit.Assert.assertTrue(i13 == 0);1223 1224 // Regression assertion (captures the current behavior of the code)1225 org.junit.Assert.assertTrue(i14 == 1);1226 1227 // Regression assertion (captures the current behavior of the code)1228 org.junit.Assert.assertTrue(i15 == 1);1229 1230 // Regression assertion (captures the current behavior of the code)1231 org.junit.Assert.assertTrue(i17 == 1);1232 }1233 @Test1234 public void test033() throws Throwable {1235 if (debug) { System.out.format("%n%s%n","RegressionTest2.test033"); }1236 container.Container container0 = new container.Container();1237 int i2 = container0.put((int)(short)1);1238 int i4 = container0.get((int)(byte)10);1239 int i6 = container0.remove((int)(short)-1);1240 int i8 = container0.remove(10);1241 int i10 = container0.get(10);1242 int i12 = container0.put(10);1243 int i14 = container0.put((int)' ');1244 int i16 = container0.remove((int)(byte)-1);1245 int i18 = container0.put((int)(byte)-1);1246 int i19 = container0.size();1247 int i21 = container0.get((int)(byte)1);1248 int i22 = container0.size();1249 int i24 = container0.remove(1);1250 1251 // Regression assertion (captures the current behavior of the code)1252 org.junit.Assert.assertTrue(i2 == 1);1253 1254 // Regression assertion (captures the current behavior of the code)1255 org.junit.Assert.assertTrue(i4 == 0);1256 1257 // Regression assertion (captures the current behavior of the code)1258 org.junit.Assert.assertTrue(i6 == 0);1259 1260 // Regression assertion (captures the current behavior of the code)1261 org.junit.Assert.assertTrue(i8 == 0);1262 1263 // Regression assertion (captures the current behavior of the code)1264 org.junit.Assert.assertTrue(i10 == 0);1265 1266 // Regression assertion (captures the current behavior of the code)1267 org.junit.Assert.assertTrue(i12 == 1);1268 1269 // Regression assertion (captures the current behavior of the code)1270 org.junit.Assert.assertTrue(i14 == 1);1271 1272 // Regression assertion (captures the current behavior of the code)1273 org.junit.Assert.assertTrue(i16 == 0);1274 1275 // Regression assertion (captures the current behavior of the code)1276 org.junit.Assert.assertTrue(i18 == 1);1277 1278 // Regression assertion (captures the current behavior of the code)1279 org.junit.Assert.assertTrue(i19 == 4);1280 1281 // Regression assertion (captures the current behavior of the code)1282 org.junit.Assert.assertTrue(i21 == 1);1283 1284 // Regression assertion (captures the current behavior of the code)1285 org.junit.Assert.assertTrue(i22 == 4);1286 1287 // Regression assertion (captures the current behavior of the code)1288 org.junit.Assert.assertTrue(i24 == 1);1289 }1290 @Test1291 public void test034() throws Throwable {1292 if (debug) { System.out.format("%n%s%n","RegressionTest2.test034"); }1293 container.Container container0 = new container.Container();1294 int i2 = container0.put((int)(short)1);1295 int i4 = container0.get((int)(byte)10);1296 container0.printContainer();1297 int i7 = container0.remove((int)(byte)10);1298 int i9 = container0.get((-1));1299 int i11 = container0.put((int)(byte)100);1300 int i13 = container0.get((int)(byte)0);1301 int i15 = container0.get((int)'4');1302 int i17 = container0.remove(1);1303 int i19 = container0.get((int)'#');1304 int i21 = container0.put((int)(byte)1);1305 int i22 = container0.size();1306 int i24 = container0.put(1);1307 int i26 = container0.put(4);1308 1309 // Regression assertion (captures the current behavior of the code)1310 org.junit.Assert.assertTrue(i2 == 1);1311 1312 // Regression assertion (captures the current behavior of the code)1313 org.junit.Assert.assertTrue(i4 == 0);1314 1315 // Regression assertion (captures the current behavior of the code)1316 org.junit.Assert.assertTrue(i7 == 0);1317 1318 // Regression assertion (captures the current behavior of the code)1319 org.junit.Assert.assertTrue(i9 == 0);1320 1321 // Regression assertion (captures the current behavior of the code)1322 org.junit.Assert.assertTrue(i11 == 1);1323 1324 // Regression assertion (captures the current behavior of the code)1325 org.junit.Assert.assertTrue(i13 == 0);1326 1327 // Regression assertion (captures the current behavior of the code)1328 org.junit.Assert.assertTrue(i15 == 0);1329 1330 // Regression assertion (captures the current behavior of the code)1331 org.junit.Assert.assertTrue(i17 == 1);1332 1333 // Regression assertion (captures the current behavior of the code)1334 org.junit.Assert.assertTrue(i19 == 0);1335 1336 // Regression assertion (captures the current behavior of the code)1337 org.junit.Assert.assertTrue(i21 == 1);1338 1339 // Regression assertion (captures the current behavior of the code)1340 org.junit.Assert.assertTrue(i22 == 2);1341 1342 // Regression assertion (captures the current behavior of the code)1343 org.junit.Assert.assertTrue(i24 == 0);1344 1345 // Regression assertion (captures the current behavior of the code)1346 org.junit.Assert.assertTrue(i26 == 1);1347 }1348 @Test1349 public void test035() throws Throwable {1350 if (debug) { System.out.format("%n%s%n","RegressionTest2.test035"); }1351 container.Container container0 = new container.Container();1352 int i2 = container0.put((int)(byte)-1);1353 int i4 = container0.get(100);1354 int i6 = container0.remove((int)'#');1355 int i7 = container0.size();1356 container0.printContainer();1357 1358 // Regression assertion (captures the current behavior of the code)1359 org.junit.Assert.assertTrue(i2 == 1);1360 1361 // Regression assertion (captures the current behavior of the code)1362 org.junit.Assert.assertTrue(i4 == 0);1363 1364 // Regression assertion (captures the current behavior of the code)1365 org.junit.Assert.assertTrue(i6 == 0);1366 1367 // Regression assertion (captures the current behavior of the code)1368 org.junit.Assert.assertTrue(i7 == 1);1369 }1370 @Test1371 public void test036() throws Throwable {1372 if (debug) { System.out.format("%n%s%n","RegressionTest2.test036"); }1373 container.Container container0 = new container.Container();1374 int i2 = container0.put((int)(short)1);1375 int i4 = container0.get(1);1376 int i5 = container0.size();1377 container0.printContainer();1378 int i8 = container0.get((int)'#');1379 int i10 = container0.get((int)'a');1380 int i12 = container0.remove(100);1381 int i14 = container0.remove(10);1382 1383 // Regression assertion (captures the current behavior of the code)1384 org.junit.Assert.assertTrue(i2 == 1);1385 1386 // Regression assertion (captures the current behavior of the code)1387 org.junit.Assert.assertTrue(i4 == 1);1388 1389 // Regression assertion (captures the current behavior of the code)1390 org.junit.Assert.assertTrue(i5 == 1);1391 1392 // Regression assertion (captures the current behavior of the code)1393 org.junit.Assert.assertTrue(i8 == 0);1394 1395 // Regression assertion (captures the current behavior of the code)1396 org.junit.Assert.assertTrue(i10 == 0);1397 1398 // Regression assertion (captures the current behavior of the code)1399 org.junit.Assert.assertTrue(i12 == 0);1400 1401 // Regression assertion (captures the current behavior of the code)1402 org.junit.Assert.assertTrue(i14 == 0);1403 }1404 @Test1405 public void test037() throws Throwable {1406 if (debug) { System.out.format("%n%s%n","RegressionTest2.test037"); }1407 container.Container container0 = new container.Container();1408 int i2 = container0.put((int)(short)1);1409 int i4 = container0.get(1);1410 container0.printContainer();1411 container0.printContainer();1412 int i8 = container0.get((int)(short)-1);1413 int i10 = container0.get(100);1414 int i12 = container0.put(10);1415 int i14 = container0.put((int)(byte)100);1416 container0.printContainer();1417 int i17 = container0.remove((int)(byte)1);1418 int i19 = container0.get(0);1419 int i20 = container0.size();1420 container0.printContainer();1421 1422 // Regression assertion (captures the current behavior of the code)1423 org.junit.Assert.assertTrue(i2 == 1);1424 1425 // Regression assertion (captures the current behavior of the code)1426 org.junit.Assert.assertTrue(i4 == 1);1427 1428 // Regression assertion (captures the current behavior of the code)1429 org.junit.Assert.assertTrue(i8 == 0);1430 1431 // Regression assertion (captures the current behavior of the code)1432 org.junit.Assert.assertTrue(i10 == 0);1433 1434 // Regression assertion (captures the current behavior of the code)1435 org.junit.Assert.assertTrue(i12 == 1);1436 1437 // Regression assertion (captures the current behavior of the code)1438 org.junit.Assert.assertTrue(i14 == 1);1439 1440 // Regression assertion (captures the current behavior of the code)1441 org.junit.Assert.assertTrue(i17 == 1);1442 1443 // Regression assertion (captures the current behavior of the code)1444 org.junit.Assert.assertTrue(i19 == 0);1445 1446 // Regression assertion (captures the current behavior of the code)1447 org.junit.Assert.assertTrue(i20 == 2);1448 }1449 @Test1450 public void test038() throws Throwable {1451 if (debug) { System.out.format("%n%s%n","RegressionTest2.test038"); }1452 container.Container container0 = new container.Container();1453 int i2 = container0.put((int)(short)1);1454 int i4 = container0.get(1);1455 container0.printContainer();1456 container0.printContainer();1457 int i8 = container0.get((int)(byte)10);1458 container0.printContainer();1459 int i11 = container0.put((int)'#');1460 int i12 = container0.size();1461 int i13 = container0.size();1462 int i14 = container0.size();1463 int i16 = container0.get((int)(byte)-1);1464 1465 // Regression assertion (captures the current behavior of the code)1466 org.junit.Assert.assertTrue(i2 == 1);1467 1468 // Regression assertion (captures the current behavior of the code)1469 org.junit.Assert.assertTrue(i4 == 1);1470 1471 // Regression assertion (captures the current behavior of the code)1472 org.junit.Assert.assertTrue(i8 == 0);1473 1474 // Regression assertion (captures the current behavior of the code)1475 org.junit.Assert.assertTrue(i11 == 1);1476 1477 // Regression assertion (captures the current behavior of the code)1478 org.junit.Assert.assertTrue(i12 == 2);1479 1480 // Regression assertion (captures the current behavior of the code)1481 org.junit.Assert.assertTrue(i13 == 2);1482 1483 // Regression assertion (captures the current behavior of the code)1484 org.junit.Assert.assertTrue(i14 == 2);1485 1486 // Regression assertion (captures the current behavior of the code)1487 org.junit.Assert.assertTrue(i16 == 0);1488 }1489 @Test1490 public void test039() throws Throwable {1491 if (debug) { System.out.format("%n%s%n","RegressionTest2.test039"); }1492 container.Container container0 = new container.Container();1493 int i2 = container0.put((int)(short)1);1494 int i4 = container0.get((int)(byte)10);1495 int i6 = container0.put((int)(short)1);1496 container0.printContainer();1497 int i9 = container0.put((int)'4');1498 int i11 = container0.remove(3);1499 1500 // Regression assertion (captures the current behavior of the code)1501 org.junit.Assert.assertTrue(i2 == 1);1502 1503 // Regression assertion (captures the current behavior of the code)1504 org.junit.Assert.assertTrue(i4 == 0);1505 1506 // Regression assertion (captures the current behavior of the code)1507 org.junit.Assert.assertTrue(i6 == 0);1508 1509 // Regression assertion (captures the current behavior of the code)1510 org.junit.Assert.assertTrue(i9 == 1);1511 1512 // Regression assertion (captures the current behavior of the code)1513 org.junit.Assert.assertTrue(i11 == 0);1514 }1515 @Test1516 public void test040() throws Throwable {1517 if (debug) { System.out.format("%n%s%n","RegressionTest2.test040"); }1518 container.Container container0 = new container.Container();1519 int i2 = container0.put((int)(short)1);1520 int i4 = container0.get((int)(byte)10);1521 int i6 = container0.put((int)(short)1);1522 int i8 = container0.get((int)'#');1523 int i9 = container0.size();1524 int i11 = container0.get((int)(byte)0);1525 int i13 = container0.get(0);1526 int i15 = container0.get((int)'4');1527 int i17 = container0.put(0);1528 1529 // Regression assertion (captures the current behavior of the code)1530 org.junit.Assert.assertTrue(i2 == 1);1531 1532 // Regression assertion (captures the current behavior of the code)1533 org.junit.Assert.assertTrue(i4 == 0);1534 1535 // Regression assertion (captures the current behavior of the code)1536 org.junit.Assert.assertTrue(i6 == 0);1537 1538 // Regression assertion (captures the current behavior of the code)1539 org.junit.Assert.assertTrue(i8 == 0);1540 1541 // Regression assertion (captures the current behavior of the code)1542 org.junit.Assert.assertTrue(i9 == 1);1543 1544 // Regression assertion (captures the current behavior of the code)1545 org.junit.Assert.assertTrue(i11 == 0);1546 1547 // Regression assertion (captures the current behavior of the code)1548 org.junit.Assert.assertTrue(i13 == 0);1549 1550 // Regression assertion (captures the current behavior of the code)1551 org.junit.Assert.assertTrue(i15 == 0);1552 1553 // Regression assertion (captures the current behavior of the code)1554 org.junit.Assert.assertTrue(i17 == 1);1555 }1556 @Test1557 public void test041() throws Throwable {1558 if (debug) { System.out.format("%n%s%n","RegressionTest2.test041"); }1559 container.Container container0 = new container.Container();1560 container0.printContainer();1561 int i3 = container0.remove((int)(short)100);1562 int i4 = container0.size();1563 int i5 = container0.size();1564 int i6 = container0.size();1565 int i8 = container0.remove(10);1566 int i10 = container0.get((int)(byte)100);1567 1568 // Regression assertion (captures the current behavior of the code)1569 org.junit.Assert.assertTrue(i3 == 0);1570 1571 // Regression assertion (captures the current behavior of the code)1572 org.junit.Assert.assertTrue(i4 == 0);1573 1574 // Regression assertion (captures the current behavior of the code)1575 org.junit.Assert.assertTrue(i5 == 0);1576 1577 // Regression assertion (captures the current behavior of the code)1578 org.junit.Assert.assertTrue(i6 == 0);1579 1580 // Regression assertion (captures the current behavior of the code)1581 org.junit.Assert.assertTrue(i8 == 0);1582 1583 // Regression assertion (captures the current behavior of the code)1584 org.junit.Assert.assertTrue(i10 == 0);1585 }1586 @Test1587 public void test042() throws Throwable {1588 if (debug) { System.out.format("%n%s%n","RegressionTest2.test042"); }1589 container.Container container0 = new container.Container();1590 int i2 = container0.put((int)(short)1);1591 int i4 = container0.get(1);1592 container0.printContainer();1593 container0.printContainer();1594 int i8 = container0.get((int)(byte)10);1595 container0.printContainer();1596 int i11 = container0.get((int)'#');1597 container0.printContainer();1598 int i14 = container0.get((int)(short)-1);1599 int i16 = container0.put(3);1600 int i17 = container0.size();1601 int i18 = container0.size();1602 1603 // Regression assertion (captures the current behavior of the code)1604 org.junit.Assert.assertTrue(i2 == 1);1605 1606 // Regression assertion (captures the current behavior of the code)1607 org.junit.Assert.assertTrue(i4 == 1);1608 1609 // Regression assertion (captures the current behavior of the code)1610 org.junit.Assert.assertTrue(i8 == 0);1611 1612 // Regression assertion (captures the current behavior of the code)1613 org.junit.Assert.assertTrue(i11 == 0);1614 1615 // Regression assertion (captures the current behavior of the code)1616 org.junit.Assert.assertTrue(i14 == 0);1617 1618 // Regression assertion (captures the current behavior of the code)1619 org.junit.Assert.assertTrue(i16 == 1);1620 1621 // Regression assertion (captures the current behavior of the code)1622 org.junit.Assert.assertTrue(i17 == 2);1623 1624 // Regression assertion (captures the current behavior of the code)1625 org.junit.Assert.assertTrue(i18 == 2);1626 }1627 @Test1628 public void test043() throws Throwable {1629 if (debug) { System.out.format("%n%s%n","RegressionTest2.test043"); }1630 container.Container container0 = new container.Container();1631 int i2 = container0.put((int)(short)1);1632 int i4 = container0.get(1);1633 container0.printContainer();1634 int i7 = container0.remove((int)'#');1635 int i9 = container0.remove((int)(byte)100);1636 int i11 = container0.get(0);1637 int i13 = container0.get((int)' ');1638 int i14 = container0.size();1639 int i16 = container0.get((int)(short)1);1640 int i17 = container0.size();1641 1642 // Regression assertion (captures the current behavior of the code)1643 org.junit.Assert.assertTrue(i2 == 1);1644 1645 // Regression assertion (captures the current behavior of the code)1646 org.junit.Assert.assertTrue(i4 == 1);1647 1648 // Regression assertion (captures the current behavior of the code)1649 org.junit.Assert.assertTrue(i7 == 0);1650 1651 // Regression assertion (captures the current behavior of the code)1652 org.junit.Assert.assertTrue(i9 == 0);1653 1654 // Regression assertion (captures the current behavior of the code)1655 org.junit.Assert.assertTrue(i11 == 0);1656 1657 // Regression assertion (captures the current behavior of the code)1658 org.junit.Assert.assertTrue(i13 == 0);1659 1660 // Regression assertion (captures the current behavior of the code)1661 org.junit.Assert.assertTrue(i14 == 1);1662 1663 // Regression assertion (captures the current behavior of the code)1664 org.junit.Assert.assertTrue(i16 == 1);1665 1666 // Regression assertion (captures the current behavior of the code)1667 org.junit.Assert.assertTrue(i17 == 1);1668 }1669 @Test1670 public void test044() throws Throwable {1671 if (debug) { System.out.format("%n%s%n","RegressionTest2.test044"); }1672 container.Container container0 = new container.Container();1673 container0.printContainer();1674 int i3 = container0.remove((int)(short)100);1675 int i4 = container0.size();1676 int i5 = container0.size();1677 int i6 = container0.size();1678 int i8 = container0.remove((int)(byte)1);1679 int i9 = container0.size();1680 int i11 = container0.remove(1);1681 1682 // Regression assertion (captures the current behavior of the code)1683 org.junit.Assert.assertTrue(i3 == 0);1684 1685 // Regression assertion (captures the current behavior of the code)1686 org.junit.Assert.assertTrue(i4 == 0);1687 1688 // Regression assertion (captures the current behavior of the code)1689 org.junit.Assert.assertTrue(i5 == 0);1690 1691 // Regression assertion (captures the current behavior of the code)1692 org.junit.Assert.assertTrue(i6 == 0);1693 1694 // Regression assertion (captures the current behavior of the code)1695 org.junit.Assert.assertTrue(i8 == 0);1696 1697 // Regression assertion (captures the current behavior of the code)1698 org.junit.Assert.assertTrue(i9 == 0);1699 1700 // Regression assertion (captures the current behavior of the code)1701 org.junit.Assert.assertTrue(i11 == 0);1702 }1703 @Test1704 public void test045() throws Throwable {1705 if (debug) { System.out.format("%n%s%n","RegressionTest2.test045"); }1706 container.Container container0 = new container.Container();1707 int i2 = container0.put((int)(short)1);1708 int i4 = container0.get((int)(byte)10);1709 container0.printContainer();1710 int i7 = container0.remove((int)(byte)10);1711 int i9 = container0.get((-1));1712 int i11 = container0.put((int)(byte)100);1713 int i13 = container0.remove(5);1714 1715 // Regression assertion (captures the current behavior of the code)1716 org.junit.Assert.assertTrue(i2 == 1);1717 1718 // Regression assertion (captures the current behavior of the code)1719 org.junit.Assert.assertTrue(i4 == 0);1720 1721 // Regression assertion (captures the current behavior of the code)1722 org.junit.Assert.assertTrue(i7 == 0);1723 1724 // Regression assertion (captures the current behavior of the code)1725 org.junit.Assert.assertTrue(i9 == 0);1726 1727 // Regression assertion (captures the current behavior of the code)1728 org.junit.Assert.assertTrue(i11 == 1);1729 1730 // Regression assertion (captures the current behavior of the code)1731 org.junit.Assert.assertTrue(i13 == 0);1732 }1733 @Test1734 public void test046() throws Throwable {1735 if (debug) { System.out.format("%n%s%n","RegressionTest2.test046"); }1736 container.Container container0 = new container.Container();1737 int i2 = container0.put((int)(short)1);1738 int i4 = container0.get(1);1739 int i6 = container0.put(0);1740 int i8 = container0.get((int)(byte)1);1741 int i10 = container0.get((-1));1742 int i12 = container0.remove((-1));1743 int i14 = container0.remove((int)(byte)-1);1744 int i16 = container0.put((int)(byte)10);1745 int i18 = container0.get(4);1746 1747 // Regression assertion (captures the current behavior of the code)1748 org.junit.Assert.assertTrue(i2 == 1);1749 1750 // Regression assertion (captures the current behavior of the code)1751 org.junit.Assert.assertTrue(i4 == 1);1752 1753 // Regression assertion (captures the current behavior of the code)1754 org.junit.Assert.assertTrue(i6 == 1);1755 1756 // Regression assertion (captures the current behavior of the code)1757 org.junit.Assert.assertTrue(i8 == 1);1758 1759 // Regression assertion (captures the current behavior of the code)1760 org.junit.Assert.assertTrue(i10 == 0);1761 1762 // Regression assertion (captures the current behavior of the code)1763 org.junit.Assert.assertTrue(i12 == 0);1764 1765 // Regression assertion (captures the current behavior of the code)1766 org.junit.Assert.assertTrue(i14 == 0);1767 1768 // Regression assertion (captures the current behavior of the code)1769 org.junit.Assert.assertTrue(i16 == 1);1770 1771 // Regression assertion (captures the current behavior of the code)1772 org.junit.Assert.assertTrue(i18 == 0);1773 }1774 @Test1775 public void test047() throws Throwable {1776 if (debug) { System.out.format("%n%s%n","RegressionTest2.test047"); }1777 container.Container container0 = new container.Container();1778 int i2 = container0.put((int)(short)1);1779 int i4 = container0.get((int)(byte)10);1780 container0.printContainer();1781 int i7 = container0.remove((int)(byte)10);1782 int i9 = container0.get((-1));1783 int i11 = container0.put((int)(byte)100);1784 int i13 = container0.get((int)(byte)0);1785 container0.printContainer();1786 int i15 = container0.size();1787 int i17 = container0.put(1);1788 int i19 = container0.get((int)' ');1789 int i21 = container0.remove(0);1790 int i22 = container0.size();1791 1792 // Regression assertion (captures the current behavior of the code)1793 org.junit.Assert.assertTrue(i2 == 1);1794 1795 // Regression assertion (captures the current behavior of the code)1796 org.junit.Assert.assertTrue(i4 == 0);1797 1798 // Regression assertion (captures the current behavior of the code)1799 org.junit.Assert.assertTrue(i7 == 0);1800 1801 // Regression assertion (captures the current behavior of the code)1802 org.junit.Assert.assertTrue(i9 == 0);1803 1804 // Regression assertion (captures the current behavior of the code)1805 org.junit.Assert.assertTrue(i11 == 1);1806 1807 // Regression assertion (captures the current behavior of the code)1808 org.junit.Assert.assertTrue(i13 == 0);1809 1810 // Regression assertion (captures the current behavior of the code)1811 org.junit.Assert.assertTrue(i15 == 2);1812 1813 // Regression assertion (captures the current behavior of the code)1814 org.junit.Assert.assertTrue(i17 == 0);1815 1816 // Regression assertion (captures the current behavior of the code)1817 org.junit.Assert.assertTrue(i19 == 0);1818 1819 // Regression assertion (captures the current behavior of the code)1820 org.junit.Assert.assertTrue(i21 == 0);1821 1822 // Regression assertion (captures the current behavior of the code)1823 org.junit.Assert.assertTrue(i22 == 2);1824 }1825 @Test1826 public void test048() throws Throwable {1827 if (debug) { System.out.format("%n%s%n","RegressionTest2.test048"); }1828 container.Container container0 = new container.Container();1829 int i2 = container0.put((int)(short)1);1830 int i4 = container0.get(1);1831 container0.printContainer();1832 int i6 = container0.size();1833 int i8 = container0.remove((int)(byte)1);1834 int i10 = container0.get(10);1835 int i11 = container0.size();1836 int i13 = container0.remove((-1));1837 1838 // Regression assertion (captures the current behavior of the code)1839 org.junit.Assert.assertTrue(i2 == 1);1840 1841 // Regression assertion (captures the current behavior of the code)1842 org.junit.Assert.assertTrue(i4 == 1);1843 1844 // Regression assertion (captures the current behavior of the code)1845 org.junit.Assert.assertTrue(i6 == 1);1846 1847 // Regression assertion (captures the current behavior of the code)1848 org.junit.Assert.assertTrue(i8 == 1);1849 1850 // Regression assertion (captures the current behavior of the code)1851 org.junit.Assert.assertTrue(i10 == 0);1852 1853 // Regression assertion (captures the current behavior of the code)1854 org.junit.Assert.assertTrue(i11 == 0);1855 1856 // Regression assertion (captures the current behavior of the code)1857 org.junit.Assert.assertTrue(i13 == 0);1858 }1859 @Test1860 public void test049() throws Throwable {1861 if (debug) { System.out.format("%n%s%n","RegressionTest2.test049"); }1862 container.Container container0 = new container.Container();1863 int i2 = container0.put((int)(short)1);1864 int i4 = container0.get(1);1865 container0.printContainer();1866 int i6 = container0.size();1867 int i8 = container0.remove((int)(byte)1);1868 int i10 = container0.put((int)(short)1);1869 int i12 = container0.get((int)'4');1870 int i14 = container0.get((int)(byte)100);1871 container0.printContainer();1872 int i17 = container0.remove((int)(short)1);1873 1874 // Regression assertion (captures the current behavior of the code)1875 org.junit.Assert.assertTrue(i2 == 1);1876 1877 // Regression assertion (captures the current behavior of the code)1878 org.junit.Assert.assertTrue(i4 == 1);1879 1880 // Regression assertion (captures the current behavior of the code)1881 org.junit.Assert.assertTrue(i6 == 1);1882 1883 // Regression assertion (captures the current behavior of the code)1884 org.junit.Assert.assertTrue(i8 == 1);1885 1886 // Regression assertion (captures the current behavior of the code)1887 org.junit.Assert.assertTrue(i10 == 1);1888 1889 // Regression assertion (captures the current behavior of the code)1890 org.junit.Assert.assertTrue(i12 == 0);1891 1892 // Regression assertion (captures the current behavior of the code)1893 org.junit.Assert.assertTrue(i14 == 0);1894 1895 // Regression assertion (captures the current behavior of the code)1896 org.junit.Assert.assertTrue(i17 == 1);1897 }1898 @Test1899 public void test050() throws Throwable {1900 if (debug) { System.out.format("%n%s%n","RegressionTest2.test050"); }1901 container.Container container0 = new container.Container();1902 int i2 = container0.put((int)(short)1);1903 int i4 = container0.get(1);1904 container0.printContainer();1905 container0.printContainer();1906 int i8 = container0.get((int)(byte)10);1907 container0.printContainer();1908 int i11 = container0.get((int)'#');1909 container0.printContainer();1910 container0.printContainer();1911 int i14 = container0.size();1912 1913 // Regression assertion (captures the current behavior of the code)1914 org.junit.Assert.assertTrue(i2 == 1);1915 1916 // Regression assertion (captures the current behavior of the code)1917 org.junit.Assert.assertTrue(i4 == 1);1918 1919 // Regression assertion (captures the current behavior of the code)1920 org.junit.Assert.assertTrue(i8 == 0);1921 1922 // Regression assertion (captures the current behavior of the code)1923 org.junit.Assert.assertTrue(i11 == 0);1924 1925 // Regression assertion (captures the current behavior of the code)1926 org.junit.Assert.assertTrue(i14 == 1);1927 }1928 @Test1929 public void test051() throws Throwable {1930 if (debug) { System.out.format("%n%s%n","RegressionTest2.test051"); }1931 container.Container container0 = new container.Container();1932 int i2 = container0.put((int)(short)1);1933 int i4 = container0.get((int)(byte)10);1934 int i6 = container0.remove((int)(short)-1);1935 int i8 = container0.remove(10);1936 int i10 = container0.get(10);1937 int i12 = container0.put(10);1938 int i14 = container0.put((int)' ');1939 int i16 = container0.remove((int)(byte)-1);1940 int i18 = container0.put((-1));1941 container0.printContainer();1942 int i21 = container0.put(0);1943 int i23 = container0.put((int)(short)10);1944 int i24 = container0.size();1945 1946 // Regression assertion (captures the current behavior of the code)1947 org.junit.Assert.assertTrue(i2 == 1);1948 1949 // Regression assertion (captures the current behavior of the code)1950 org.junit.Assert.assertTrue(i4 == 0);1951 1952 // Regression assertion (captures the current behavior of the code)1953 org.junit.Assert.assertTrue(i6 == 0);1954 1955 // Regression assertion (captures the current behavior of the code)1956 org.junit.Assert.assertTrue(i8 == 0);1957 1958 // Regression assertion (captures the current behavior of the code)1959 org.junit.Assert.assertTrue(i10 == 0);1960 1961 // Regression assertion (captures the current behavior of the code)1962 org.junit.Assert.assertTrue(i12 == 1);1963 1964 // Regression assertion (captures the current behavior of the code)1965 org.junit.Assert.assertTrue(i14 == 1);1966 1967 // Regression assertion (captures the current behavior of the code)1968 org.junit.Assert.assertTrue(i16 == 0);1969 1970 // Regression assertion (captures the current behavior of the code)1971 org.junit.Assert.assertTrue(i18 == 1);1972 1973 // Regression assertion (captures the current behavior of the code)1974 org.junit.Assert.assertTrue(i21 == 1);1975 1976 // Regression assertion (captures the current behavior of the code)1977 org.junit.Assert.assertTrue(i23 == 0);1978 1979 // Regression assertion (captures the current behavior of the code)1980 org.junit.Assert.assertTrue(i24 == 5);1981 }1982 @Test1983 public void test052() throws Throwable {1984 if (debug) { System.out.format("%n%s%n","RegressionTest2.test052"); }1985 container.Container container0 = new container.Container();1986 int i2 = container0.put((int)(short)1);1987 int i4 = container0.get((int)(byte)10);1988 int i6 = container0.remove((int)(short)-1);1989 int i8 = container0.remove(10);1990 int i10 = container0.get(10);1991 int i12 = container0.put(10);1992 int i14 = container0.put((int)' ');1993 int i16 = container0.get((int)'#');1994 int i18 = container0.get(100);1995 int i20 = container0.get((int)(short)10);1996 int i22 = container0.put((int)'#');1997 1998 // Regression assertion (captures the current behavior of the code)1999 org.junit.Assert.assertTrue(i2 == 1);2000 2001 // Regression assertion (captures the current behavior of the code)2002 org.junit.Assert.assertTrue(i4 == 0);2003 2004 // Regression assertion (captures the current behavior of the code)2005 org.junit.Assert.assertTrue(i6 == 0);2006 2007 // Regression assertion (captures the current behavior of the code)2008 org.junit.Assert.assertTrue(i8 == 0);2009 2010 // Regression assertion (captures the current behavior of the code)2011 org.junit.Assert.assertTrue(i10 == 0);2012 2013 // Regression assertion (captures the current behavior of the code)2014 org.junit.Assert.assertTrue(i12 == 1);2015 2016 // Regression assertion (captures the current behavior of the code)2017 org.junit.Assert.assertTrue(i14 == 1);2018 2019 // Regression assertion (captures the current behavior of the code)2020 org.junit.Assert.assertTrue(i16 == 0);2021 2022 // Regression assertion (captures the current behavior of the code)2023 org.junit.Assert.assertTrue(i18 == 0);2024 2025 // Regression assertion (captures the current behavior of the code)2026 org.junit.Assert.assertTrue(i20 == 1);2027 2028 // Regression assertion (captures the current behavior of the code)2029 org.junit.Assert.assertTrue(i22 == 1);2030 }2031 @Test2032 public void test053() throws Throwable {2033 if (debug) { System.out.format("%n%s%n","RegressionTest2.test053"); }2034 container.Container container0 = new container.Container();2035 int i2 = container0.put((int)(short)1);2036 int i4 = container0.get(1);2037 container0.printContainer();2038 container0.printContainer();2039 int i8 = container0.get((int)(short)-1);2040 int i10 = container0.get(100);2041 int i12 = container0.put(10);2042 int i13 = container0.size();2043 int i15 = container0.put((int)(short)-1);2044 int i16 = container0.size();2045 int i18 = container0.put(5);2046 2047 // Regression assertion (captures the current behavior of the code)2048 org.junit.Assert.assertTrue(i2 == 1);2049 2050 // Regression assertion (captures the current behavior of the code)2051 org.junit.Assert.assertTrue(i4 == 1);2052 2053 // Regression assertion (captures the current behavior of the code)2054 org.junit.Assert.assertTrue(i8 == 0);2055 2056 // Regression assertion (captures the current behavior of the code)2057 org.junit.Assert.assertTrue(i10 == 0);2058 2059 // Regression assertion (captures the current behavior of the code)2060 org.junit.Assert.assertTrue(i12 == 1);2061 2062 // Regression assertion (captures the current behavior of the code)2063 org.junit.Assert.assertTrue(i13 == 2);2064 2065 // Regression assertion (captures the current behavior of the code)2066 org.junit.Assert.assertTrue(i15 == 1);2067 2068 // Regression assertion (captures the current behavior of the code)2069 org.junit.Assert.assertTrue(i16 == 3);2070 2071 // Regression assertion (captures the current behavior of the code)2072 org.junit.Assert.assertTrue(i18 == 1);2073 }2074 @Test2075 public void test054() throws Throwable {2076 if (debug) { System.out.format("%n%s%n","RegressionTest2.test054"); }2077 container.Container container0 = new container.Container();2078 int i2 = container0.put((int)(short)1);2079 int i4 = container0.get((int)(byte)10);2080 container0.printContainer();2081 int i7 = container0.remove((int)(byte)10);2082 int i9 = container0.get((-1));2083 int i11 = container0.put((int)(byte)100);2084 int i13 = container0.get((int)(byte)0);2085 int i15 = container0.get((int)'4');2086 container0.printContainer();2087 int i18 = container0.put((int)(short)0);2088 int i20 = container0.get(0);2089 2090 // Regression assertion (captures the current behavior of the code)2091 org.junit.Assert.assertTrue(i2 == 1);2092 2093 // Regression assertion (captures the current behavior of the code)2094 org.junit.Assert.assertTrue(i4 == 0);2095 2096 // Regression assertion (captures the current behavior of the code)2097 org.junit.Assert.assertTrue(i7 == 0);2098 2099 // Regression assertion (captures the current behavior of the code)2100 org.junit.Assert.assertTrue(i9 == 0);2101 2102 // Regression assertion (captures the current behavior of the code)2103 org.junit.Assert.assertTrue(i11 == 1);2104 2105 // Regression assertion (captures the current behavior of the code)2106 org.junit.Assert.assertTrue(i13 == 0);2107 2108 // Regression assertion (captures the current behavior of the code)2109 org.junit.Assert.assertTrue(i15 == 0);2110 2111 // Regression assertion (captures the current behavior of the code)2112 org.junit.Assert.assertTrue(i18 == 1);2113 2114 // Regression assertion (captures the current behavior of the code)2115 org.junit.Assert.assertTrue(i20 == 1);2116 }2117 @Test2118 public void test055() throws Throwable {2119 if (debug) { System.out.format("%n%s%n","RegressionTest2.test055"); }2120 container.Container container0 = new container.Container();2121 int i2 = container0.put((int)(short)-1);2122 int i4 = container0.remove((int)(byte)0);2123 int i6 = container0.put((int)'a');2124 int i8 = container0.remove(0);2125 int i10 = container0.put((int)(byte)100);2126 2127 // Regression assertion (captures the current behavior of the code)2128 org.junit.Assert.assertTrue(i2 == 1);2129 2130 // Regression assertion (captures the current behavior of the code)2131 org.junit.Assert.assertTrue(i4 == 0);2132 2133 // Regression assertion (captures the current behavior of the code)2134 org.junit.Assert.assertTrue(i6 == 1);2135 2136 // Regression assertion (captures the current behavior of the code)2137 org.junit.Assert.assertTrue(i8 == 0);2138 2139 // Regression assertion (captures the current behavior of the code)2140 org.junit.Assert.assertTrue(i10 == 1);2141 }2142 @Test2143 public void test056() throws Throwable {2144 if (debug) { System.out.format("%n%s%n","RegressionTest2.test056"); }2145 container.Container container0 = new container.Container();2146 int i2 = container0.put((int)(short)1);2147 int i4 = container0.get((int)(byte)10);2148 int i6 = container0.remove((int)(short)-1);2149 int i8 = container0.remove(10);2150 int i10 = container0.get(10);2151 int i12 = container0.put(10);2152 int i14 = container0.put((int)' ');2153 int i16 = container0.remove((int)(byte)-1);2154 int i18 = container0.get(3);2155 int i20 = container0.get((int)(byte)100);2156 int i22 = container0.put((int)(short)-1);2157 int i24 = container0.get(3);2158 int i25 = container0.size();2159 int i27 = container0.remove((-1));2160 2161 // Regression assertion (captures the current behavior of the code)2162 org.junit.Assert.assertTrue(i2 == 1);2163 2164 // Regression assertion (captures the current behavior of the code)2165 org.junit.Assert.assertTrue(i4 == 0);2166 2167 // Regression assertion (captures the current behavior of the code)2168 org.junit.Assert.assertTrue(i6 == 0);2169 2170 // Regression assertion (captures the current behavior of the code)2171 org.junit.Assert.assertTrue(i8 == 0);2172 2173 // Regression assertion (captures the current behavior of the code)2174 org.junit.Assert.assertTrue(i10 == 0);2175 2176 // Regression assertion (captures the current behavior of the code)2177 org.junit.Assert.assertTrue(i12 == 1);2178 2179 // Regression assertion (captures the current behavior of the code)2180 org.junit.Assert.assertTrue(i14 == 1);2181 2182 // Regression assertion (captures the current behavior of the code)2183 org.junit.Assert.assertTrue(i16 == 0);2184 2185 // Regression assertion (captures the current behavior of the code)2186 org.junit.Assert.assertTrue(i18 == 0);2187 2188 // Regression assertion (captures the current behavior of the code)2189 org.junit.Assert.assertTrue(i20 == 0);2190 2191 // Regression assertion (captures the current behavior of the code)2192 org.junit.Assert.assertTrue(i22 == 1);2193 2194 // Regression assertion (captures the current behavior of the code)2195 org.junit.Assert.assertTrue(i24 == 0);2196 2197 // Regression assertion (captures the current behavior of the code)2198 org.junit.Assert.assertTrue(i25 == 4);2199 2200 // Regression assertion (captures the current behavior of the code)2201 org.junit.Assert.assertTrue(i27 == 1);2202 }2203 @Test2204 public void test057() throws Throwable {2205 if (debug) { System.out.format("%n%s%n","RegressionTest2.test057"); }2206 container.Container container0 = new container.Container();2207 int i2 = container0.put((int)(short)1);2208 int i4 = container0.get(1);2209 container0.printContainer();2210 int i7 = container0.remove((int)'#');2211 int i9 = container0.get((int)(byte)0);2212 int i11 = container0.put((int)(short)-1);2213 2214 // Regression assertion (captures the current behavior of the code)2215 org.junit.Assert.assertTrue(i2 == 1);2216 2217 // Regression assertion (captures the current behavior of the code)2218 org.junit.Assert.assertTrue(i4 == 1);2219 2220 // Regression assertion (captures the current behavior of the code)2221 org.junit.Assert.assertTrue(i7 == 0);2222 2223 // Regression assertion (captures the current behavior of the code)2224 org.junit.Assert.assertTrue(i9 == 0);2225 2226 // Regression assertion (captures the current behavior of the code)2227 org.junit.Assert.assertTrue(i11 == 1);2228 }2229 @Test2230 public void test058() throws Throwable {2231 if (debug) { System.out.format("%n%s%n","RegressionTest2.test058"); }2232 container.Container container0 = new container.Container();2233 int i2 = container0.put((int)(short)1);2234 int i4 = container0.get(1);2235 container0.printContainer();2236 container0.printContainer();2237 int i8 = container0.get((int)(short)-1);2238 int i10 = container0.get(100);2239 int i12 = container0.put(10);2240 int i14 = container0.remove(10);2241 int i16 = container0.put((int)(byte)-1);2242 int i18 = container0.get((int)(byte)1);2243 int i20 = container0.remove(10);2244 container0.printContainer();2245 2246 // Regression assertion (captures the current behavior of the code)2247 org.junit.Assert.assertTrue(i2 == 1);2248 2249 // Regression assertion (captures the current behavior of the code)2250 org.junit.Assert.assertTrue(i4 == 1);2251 2252 // Regression assertion (captures the current behavior of the code)2253 org.junit.Assert.assertTrue(i8 == 0);2254 2255 // Regression assertion (captures the current behavior of the code)2256 org.junit.Assert.assertTrue(i10 == 0);2257 2258 // Regression assertion (captures the current behavior of the code)2259 org.junit.Assert.assertTrue(i12 == 1);2260 2261 // Regression assertion (captures the current behavior of the code)2262 org.junit.Assert.assertTrue(i14 == 1);2263 2264 // Regression assertion (captures the current behavior of the code)2265 org.junit.Assert.assertTrue(i16 == 1);2266 2267 // Regression assertion (captures the current behavior of the code)2268 org.junit.Assert.assertTrue(i18 == 1);2269 2270 // Regression assertion (captures the current behavior of the code)2271 org.junit.Assert.assertTrue(i20 == 0);2272 }2273 @Test2274 public void test059() throws Throwable {2275 if (debug) { System.out.format("%n%s%n","RegressionTest2.test059"); }2276 container.Container container0 = new container.Container();2277 int i2 = container0.put((int)(short)1);2278 int i4 = container0.get(1);2279 container0.printContainer();2280 int i6 = container0.size();2281 int i8 = container0.remove((int)(byte)1);2282 int i10 = container0.put((int)(short)1);2283 int i12 = container0.get((int)'4');2284 int i14 = container0.get((int)(byte)100);2285 int i16 = container0.put(3);2286 int i18 = container0.remove((int)(byte)1);2287 int i20 = container0.put(2);2288 int i22 = container0.put(3);2289 int i24 = container0.put(0);2290 2291 // Regression assertion (captures the current behavior of the code)2292 org.junit.Assert.assertTrue(i2 == 1);2293 2294 // Regression assertion (captures the current behavior of the code)2295 org.junit.Assert.assertTrue(i4 == 1);2296 2297 // Regression assertion (captures the current behavior of the code)2298 org.junit.Assert.assertTrue(i6 == 1);2299 2300 // Regression assertion (captures the current behavior of the code)2301 org.junit.Assert.assertTrue(i8 == 1);2302 2303 // Regression assertion (captures the current behavior of the code)2304 org.junit.Assert.assertTrue(i10 == 1);2305 2306 // Regression assertion (captures the current behavior of the code)2307 org.junit.Assert.assertTrue(i12 == 0);2308 2309 // Regression assertion (captures the current behavior of the code)2310 org.junit.Assert.assertTrue(i14 == 0);2311 2312 // Regression assertion (captures the current behavior of the code)2313 org.junit.Assert.assertTrue(i16 == 1);2314 2315 // Regression assertion (captures the current behavior of the code)2316 org.junit.Assert.assertTrue(i18 == 1);2317 2318 // Regression assertion (captures the current behavior of the code)2319 org.junit.Assert.assertTrue(i20 == 1);2320 2321 // Regression assertion (captures the current behavior of the code)2322 org.junit.Assert.assertTrue(i22 == 0);2323 2324 // Regression assertion (captures the current behavior of the code)2325 org.junit.Assert.assertTrue(i24 == 1);2326 }2327 @Test2328 public void test060() throws Throwable {2329 if (debug) { System.out.format("%n%s%n","RegressionTest2.test060"); }2330 container.Container container0 = new container.Container();2331 container0.printContainer();2332 int i3 = container0.remove((int)(short)100);2333 int i4 = container0.size();2334 int i5 = container0.size();2335 int i7 = container0.remove((int)'#');2336 int i9 = container0.put(100);2337 int i11 = container0.remove((int)(byte)100);2338 2339 // Regression assertion (captures the current behavior of the code)2340 org.junit.Assert.assertTrue(i3 == 0);2341 2342 // Regression assertion (captures the current behavior of the code)2343 org.junit.Assert.assertTrue(i4 == 0);2344 2345 // Regression assertion (captures the current behavior of the code)2346 org.junit.Assert.assertTrue(i5 == 0);2347 2348 // Regression assertion (captures the current behavior of the code)2349 org.junit.Assert.assertTrue(i7 == 0);2350 2351 // Regression assertion (captures the current behavior of the code)2352 org.junit.Assert.assertTrue(i9 == 1);2353 2354 // Regression assertion (captures the current behavior of the code)2355 org.junit.Assert.assertTrue(i11 == 1);2356 }2357 @Test2358 public void test061() throws Throwable {2359 if (debug) { System.out.format("%n%s%n","RegressionTest2.test061"); }2360 container.Container container0 = new container.Container();2361 int i2 = container0.put((int)(short)1);2362 int i4 = container0.put((int)(short)0);2363 int i6 = container0.put((int)'a');2364 container0.printContainer();2365 int i9 = container0.get((int)(byte)10);2366 int i10 = container0.size();2367 int i12 = container0.get((int)'a');2368 container0.printContainer();2369 int i15 = container0.put((int)' ');2370 int i17 = container0.get((int)(short)-1);2371 2372 // Regression assertion (captures the current behavior of the code)2373 org.junit.Assert.assertTrue(i2 == 1);2374 2375 // Regression assertion (captures the current behavior of the code)2376 org.junit.Assert.assertTrue(i4 == 1);2377 2378 // Regression assertion (captures the current behavior of the code)2379 org.junit.Assert.assertTrue(i6 == 1);2380 2381 // Regression assertion (captures the current behavior of the code)2382 org.junit.Assert.assertTrue(i9 == 0);2383 2384 // Regression assertion (captures the current behavior of the code)2385 org.junit.Assert.assertTrue(i10 == 3);2386 2387 // Regression assertion (captures the current behavior of the code)2388 org.junit.Assert.assertTrue(i12 == 1);2389 2390 // Regression assertion (captures the current behavior of the code)2391 org.junit.Assert.assertTrue(i15 == 1);2392 2393 // Regression assertion (captures the current behavior of the code)2394 org.junit.Assert.assertTrue(i17 == 0);2395 }2396 @Test2397 public void test062() throws Throwable {2398 if (debug) { System.out.format("%n%s%n","RegressionTest2.test062"); }2399 container.Container container0 = new container.Container();2400 container0.printContainer();2401 int i3 = container0.remove((int)(short)100);2402 int i5 = container0.put((int)(short)-1);2403 int i7 = container0.get((-1));2404 int i9 = container0.put((int)'4');2405 container0.printContainer();2406 2407 // Regression assertion (captures the current behavior of the code)2408 org.junit.Assert.assertTrue(i3 == 0);2409 2410 // Regression assertion (captures the current behavior of the code)2411 org.junit.Assert.assertTrue(i5 == 1);2412 2413 // Regression assertion (captures the current behavior of the code)2414 org.junit.Assert.assertTrue(i7 == 1);2415 2416 // Regression assertion (captures the current behavior of the code)2417 org.junit.Assert.assertTrue(i9 == 1);2418 }2419 @Test2420 public void test063() throws Throwable {2421 if (debug) { System.out.format("%n%s%n","RegressionTest2.test063"); }2422 container.Container container0 = new container.Container();2423 int i2 = container0.put((int)(short)1);2424 int i4 = container0.get((int)(byte)10);2425 int i6 = container0.put((int)(short)1);2426 container0.printContainer();2427 container0.printContainer();2428 int i10 = container0.remove((int)(short)-1);2429 int i12 = container0.remove((int)(byte)10);2430 int i14 = container0.put(100);2431 container0.printContainer();2432 int i17 = container0.put((int)(byte)0);2433 int i18 = container0.size();2434 int i20 = container0.remove(4);2435 int i22 = container0.remove(10);2436 2437 // Regression assertion (captures the current behavior of the code)2438 org.junit.Assert.assertTrue(i2 == 1);2439 2440 // Regression assertion (captures the current behavior of the code)2441 org.junit.Assert.assertTrue(i4 == 0);2442 2443 // Regression assertion (captures the current behavior of the code)2444 org.junit.Assert.assertTrue(i6 == 0);2445 2446 // Regression assertion (captures the current behavior of the code)2447 org.junit.Assert.assertTrue(i10 == 0);2448 2449 // Regression assertion (captures the current behavior of the code)2450 org.junit.Assert.assertTrue(i12 == 0);2451 2452 // Regression assertion (captures the current behavior of the code)2453 org.junit.Assert.assertTrue(i14 == 1);2454 2455 // Regression assertion (captures the current behavior of the code)2456 org.junit.Assert.assertTrue(i17 == 1);2457 2458 // Regression assertion (captures the current behavior of the code)2459 org.junit.Assert.assertTrue(i18 == 3);2460 2461 // Regression assertion (captures the current behavior of the code)2462 org.junit.Assert.assertTrue(i20 == 0);2463 2464 // Regression assertion (captures the current behavior of the code)2465 org.junit.Assert.assertTrue(i22 == 0);2466 }2467 @Test2468 public void test064() throws Throwable {2469 if (debug) { System.out.format("%n%s%n","RegressionTest2.test064"); }2470 container.Container container0 = new container.Container();2471 int i2 = container0.put((int)(short)1);2472 int i4 = container0.get((int)(byte)10);2473 container0.printContainer();2474 int i7 = container0.remove((int)(byte)10);2475 int i8 = container0.size();2476 container0.printContainer();2477 int i11 = container0.put((int)(byte)10);2478 int i13 = container0.remove((int)(byte)100);2479 2480 // Regression assertion (captures the current behavior of the code)2481 org.junit.Assert.assertTrue(i2 == 1);2482 2483 // Regression assertion (captures the current behavior of the code)2484 org.junit.Assert.assertTrue(i4 == 0);2485 2486 // Regression assertion (captures the current behavior of the code)2487 org.junit.Assert.assertTrue(i7 == 0);2488 2489 // Regression assertion (captures the current behavior of the code)2490 org.junit.Assert.assertTrue(i8 == 1);2491 2492 // Regression assertion (captures the current behavior of the code)2493 org.junit.Assert.assertTrue(i11 == 1);2494 2495 // Regression assertion (captures the current behavior of the code)2496 org.junit.Assert.assertTrue(i13 == 0);2497 }2498 @Test2499 public void test065() throws Throwable {2500 if (debug) { System.out.format("%n%s%n","RegressionTest2.test065"); }2501 container.Container container0 = new container.Container();2502 int i2 = container0.put((int)(short)1);2503 int i4 = container0.get(1);2504 container0.printContainer();2505 int i6 = container0.size();2506 int i8 = container0.remove((int)(byte)1);2507 int i10 = container0.put((int)'#');2508 container0.printContainer();2509 int i13 = container0.remove(0);2510 int i15 = container0.remove((int)(byte)10);2511 int i17 = container0.get((int)(byte)10);2512 int i19 = container0.put(0);2513 int i20 = container0.size();2514 container0.printContainer();2515 2516 // Regression assertion (captures the current behavior of the code)2517 org.junit.Assert.assertTrue(i2 == 1);2518 2519 // Regression assertion (captures the current behavior of the code)2520 org.junit.Assert.assertTrue(i4 == 1);2521 2522 // Regression assertion (captures the current behavior of the code)2523 org.junit.Assert.assertTrue(i6 == 1);2524 2525 // Regression assertion (captures the current behavior of the code)2526 org.junit.Assert.assertTrue(i8 == 1);2527 2528 // Regression assertion (captures the current behavior of the code)2529 org.junit.Assert.assertTrue(i10 == 1);2530 2531 // Regression assertion (captures the current behavior of the code)2532 org.junit.Assert.assertTrue(i13 == 0);2533 2534 // Regression assertion (captures the current behavior of the code)2535 org.junit.Assert.assertTrue(i15 == 0);2536 2537 // Regression assertion (captures the current behavior of the code)2538 org.junit.Assert.assertTrue(i17 == 0);2539 2540 // Regression assertion (captures the current behavior of the code)2541 org.junit.Assert.assertTrue(i19 == 1);2542 2543 // Regression assertion (captures the current behavior of the code)2544 org.junit.Assert.assertTrue(i20 == 2);2545 }2546 @Test2547 public void test066() throws Throwable {2548 if (debug) { System.out.format("%n%s%n","RegressionTest2.test066"); }2549 container.Container container0 = new container.Container();2550 int i2 = container0.put((int)(short)1);2551 int i4 = container0.get((int)(byte)10);2552 int i6 = container0.put((int)(short)1);2553 int i8 = container0.get((int)(short)1);2554 int i10 = container0.get((int)(byte)10);2555 container0.printContainer();2556 2557 // Regression assertion (captures the current behavior of the code)2558 org.junit.Assert.assertTrue(i2 == 1);2559 2560 // Regression assertion (captures the current behavior of the code)2561 org.junit.Assert.assertTrue(i4 == 0);2562 2563 // Regression assertion (captures the current behavior of the code)2564 org.junit.Assert.assertTrue(i6 == 0);2565 2566 // Regression assertion (captures the current behavior of the code)2567 org.junit.Assert.assertTrue(i8 == 1);2568 2569 // Regression assertion (captures the current behavior of the code)2570 org.junit.Assert.assertTrue(i10 == 0);2571 }2572 @Test2573 public void test067() throws Throwable {2574 if (debug) { System.out.format("%n%s%n","RegressionTest2.test067"); }2575 container.Container container0 = new container.Container();2576 int i2 = container0.put((int)(short)1);2577 int i4 = container0.get(1);2578 container0.printContainer();2579 container0.printContainer();2580 int i8 = container0.get((int)(byte)10);2581 container0.printContainer();2582 int i11 = container0.get(1);2583 int i13 = container0.put(3);2584 int i15 = container0.put(2);2585 container0.printContainer();2586 container0.printContainer();2587 2588 // Regression assertion (captures the current behavior of the code)2589 org.junit.Assert.assertTrue(i2 == 1);2590 2591 // Regression assertion (captures the current behavior of the code)2592 org.junit.Assert.assertTrue(i4 == 1);2593 2594 // Regression assertion (captures the current behavior of the code)2595 org.junit.Assert.assertTrue(i8 == 0);2596 2597 // Regression assertion (captures the current behavior of the code)2598 org.junit.Assert.assertTrue(i11 == 1);2599 2600 // Regression assertion (captures the current behavior of the code)2601 org.junit.Assert.assertTrue(i13 == 1);2602 2603 // Regression assertion (captures the current behavior of the code)2604 org.junit.Assert.assertTrue(i15 == 1);2605 }2606 @Test2607 public void test068() throws Throwable {2608 if (debug) { System.out.format("%n%s%n","RegressionTest2.test068"); }2609 container.Container container0 = new container.Container();2610 int i2 = container0.put((int)(short)1);2611 int i4 = container0.get(1);2612 int i6 = container0.put(0);2613 int i8 = container0.put(1);2614 container0.printContainer();2615 int i11 = container0.put((int)(short)1);2616 int i13 = container0.get((int)(byte)1);2617 2618 // Regression assertion (captures the current behavior of the code)2619 org.junit.Assert.assertTrue(i2 == 1);2620 2621 // Regression assertion (captures the current behavior of the code)2622 org.junit.Assert.assertTrue(i4 == 1);2623 2624 // Regression assertion (captures the current behavior of the code)2625 org.junit.Assert.assertTrue(i6 == 1);2626 2627 // Regression assertion (captures the current behavior of the code)2628 org.junit.Assert.assertTrue(i8 == 0);2629 2630 // Regression assertion (captures the current behavior of the code)2631 org.junit.Assert.assertTrue(i11 == 0);2632 2633 // Regression assertion (captures the current behavior of the code)2634 org.junit.Assert.assertTrue(i13 == 1);2635 }2636 @Test2637 public void test069() throws Throwable {2638 if (debug) { System.out.format("%n%s%n","RegressionTest2.test069"); }2639 container.Container container0 = new container.Container();2640 int i2 = container0.put((int)(byte)-1);2641 int i3 = container0.size();2642 int i5 = container0.get(2);2643 int i7 = container0.get((-1));2644 int i9 = container0.remove((int)(short)100);2645 int i10 = container0.size();2646 container0.printContainer();2647 2648 // Regression assertion (captures the current behavior of the code)2649 org.junit.Assert.assertTrue(i2 == 1);2650 2651 // Regression assertion (captures the current behavior of the code)2652 org.junit.Assert.assertTrue(i3 == 1);2653 2654 // Regression assertion (captures the current behavior of the code)2655 org.junit.Assert.assertTrue(i5 == 0);2656 2657 // Regression assertion (captures the current behavior of the code)2658 org.junit.Assert.assertTrue(i7 == 1);2659 2660 // Regression assertion (captures the current behavior of the code)2661 org.junit.Assert.assertTrue(i9 == 0);2662 2663 // Regression assertion (captures the current behavior of the code)2664 org.junit.Assert.assertTrue(i10 == 1);2665 }2666 @Test2667 public void test070() throws Throwable {2668 if (debug) { System.out.format("%n%s%n","RegressionTest2.test070"); }2669 container.Container container0 = new container.Container();2670 int i2 = container0.put((int)(short)1);2671 int i4 = container0.get(1);2672 container0.printContainer();2673 int i6 = container0.size();2674 int i8 = container0.remove((int)(byte)1);2675 int i10 = container0.put((int)(short)1);2676 int i12 = container0.get((int)'4');2677 int i14 = container0.get((int)(byte)100);2678 int i15 = container0.size();2679 int i17 = container0.remove(5);2680 2681 // Regression assertion (captures the current behavior of the code)2682 org.junit.Assert.assertTrue(i2 == 1);2683 2684 // Regression assertion (captures the current behavior of the code)2685 org.junit.Assert.assertTrue(i4 == 1);2686 2687 // Regression assertion (captures the current behavior of the code)2688 org.junit.Assert.assertTrue(i6 == 1);2689 2690 // Regression assertion (captures the current behavior of the code)2691 org.junit.Assert.assertTrue(i8 == 1);2692 2693 // Regression assertion (captures the current behavior of the code)2694 org.junit.Assert.assertTrue(i10 == 1);2695 2696 // Regression assertion (captures the current behavior of the code)2697 org.junit.Assert.assertTrue(i12 == 0);2698 2699 // Regression assertion (captures the current behavior of the code)2700 org.junit.Assert.assertTrue(i14 == 0);2701 2702 // Regression assertion (captures the current behavior of the code)2703 org.junit.Assert.assertTrue(i15 == 1);2704 2705 // Regression assertion (captures the current behavior of the code)2706 org.junit.Assert.assertTrue(i17 == 0);2707 }2708 @Test2709 public void test071() throws Throwable {2710 if (debug) { System.out.format("%n%s%n","RegressionTest2.test071"); }2711 container.Container container0 = new container.Container();2712 int i2 = container0.put((int)(short)1);2713 int i4 = container0.get(1);2714 container0.printContainer();2715 container0.printContainer();2716 int i8 = container0.get((int)(byte)10);2717 int i10 = container0.get((int)(byte)100);2718 container0.printContainer();2719 container0.printContainer();2720 int i14 = container0.put((int)'a');2721 container0.printContainer();2722 int i17 = container0.remove((int)' ');2723 int i19 = container0.put((-1));2724 int i21 = container0.remove(5);2725 int i23 = container0.get((int)(byte)-1);2726 2727 // Regression assertion (captures the current behavior of the code)2728 org.junit.Assert.assertTrue(i2 == 1);2729 2730 // Regression assertion (captures the current behavior of the code)2731 org.junit.Assert.assertTrue(i4 == 1);2732 2733 // Regression assertion (captures the current behavior of the code)2734 org.junit.Assert.assertTrue(i8 == 0);2735 2736 // Regression assertion (captures the current behavior of the code)2737 org.junit.Assert.assertTrue(i10 == 0);2738 2739 // Regression assertion (captures the current behavior of the code)2740 org.junit.Assert.assertTrue(i14 == 1);2741 2742 // Regression assertion (captures the current behavior of the code)2743 org.junit.Assert.assertTrue(i17 == 0);2744 2745 // Regression assertion (captures the current behavior of the code)2746 org.junit.Assert.assertTrue(i19 == 1);2747 2748 // Regression assertion (captures the current behavior of the code)2749 org.junit.Assert.assertTrue(i21 == 0);2750 2751 // Regression assertion (captures the current behavior of the code)2752 org.junit.Assert.assertTrue(i23 == 1);2753 }2754 @Test2755 public void test072() throws Throwable {2756 if (debug) { System.out.format("%n%s%n","RegressionTest2.test072"); }2757 container.Container container0 = new container.Container();2758 int i2 = container0.put((int)(short)1);2759 int i4 = container0.get(1);2760 container0.printContainer();2761 int i6 = container0.size();2762 int i8 = container0.remove((int)(byte)1);2763 int i10 = container0.put((int)'#');2764 container0.printContainer();2765 int i13 = container0.remove(0);2766 int i15 = container0.remove((int)(byte)10);2767 int i17 = container0.put(3);2768 int i19 = container0.put((int)(byte)0);2769 int i21 = container0.remove(4);2770 2771 // Regression assertion (captures the current behavior of the code)2772 org.junit.Assert.assertTrue(i2 == 1);2773 2774 // Regression assertion (captures the current behavior of the code)2775 org.junit.Assert.assertTrue(i4 == 1);2776 2777 // Regression assertion (captures the current behavior of the code)2778 org.junit.Assert.assertTrue(i6 == 1);2779 2780 // Regression assertion (captures the current behavior of the code)2781 org.junit.Assert.assertTrue(i8 == 1);2782 2783 // Regression assertion (captures the current behavior of the code)2784 org.junit.Assert.assertTrue(i10 == 1);2785 2786 // Regression assertion (captures the current behavior of the code)2787 org.junit.Assert.assertTrue(i13 == 0);2788 2789 // Regression assertion (captures the current behavior of the code)2790 org.junit.Assert.assertTrue(i15 == 0);2791 2792 // Regression assertion (captures the current behavior of the code)2793 org.junit.Assert.assertTrue(i17 == 1);2794 2795 // Regression assertion (captures the current behavior of the code)2796 org.junit.Assert.assertTrue(i19 == 1);2797 2798 // Regression assertion (captures the current behavior of the code)2799 org.junit.Assert.assertTrue(i21 == 0);2800 }2801 @Test2802 public void test073() throws Throwable {2803 if (debug) { System.out.format("%n%s%n","RegressionTest2.test073"); }2804 container.Container container0 = new container.Container();2805 int i2 = container0.put((int)(short)1);2806 int i4 = container0.get((int)(byte)10);2807 int i6 = container0.remove((int)(short)-1);2808 int i8 = container0.put(100);2809 container0.printContainer();2810 int i11 = container0.remove((int)' ');2811 int i13 = container0.remove((int)(short)100);2812 container0.printContainer();2813 2814 // Regression assertion (captures the current behavior of the code)2815 org.junit.Assert.assertTrue(i2 == 1);2816 2817 // Regression assertion (captures the current behavior of the code)2818 org.junit.Assert.assertTrue(i4 == 0);2819 2820 // Regression assertion (captures the current behavior of the code)2821 org.junit.Assert.assertTrue(i6 == 0);2822 2823 // Regression assertion (captures the current behavior of the code)2824 org.junit.Assert.assertTrue(i8 == 1);2825 2826 // Regression assertion (captures the current behavior of the code)2827 org.junit.Assert.assertTrue(i11 == 0);2828 2829 // Regression assertion (captures the current behavior of the code)2830 org.junit.Assert.assertTrue(i13 == 1);2831 }2832 @Test2833 public void test074() throws Throwable {2834 if (debug) { System.out.format("%n%s%n","RegressionTest2.test074"); }2835 container.Container container0 = new container.Container();2836 int i2 = container0.put((int)(short)1);2837 int i4 = container0.get((int)(byte)10);2838 int i6 = container0.remove((int)(short)-1);2839 int i8 = container0.remove(10);2840 container0.printContainer();2841 int i10 = container0.size();2842 int i11 = container0.size();2843 container0.printContainer();2844 2845 // Regression assertion (captures the current behavior of the code)2846 org.junit.Assert.assertTrue(i2 == 1);2847 2848 // Regression assertion (captures the current behavior of the code)2849 org.junit.Assert.assertTrue(i4 == 0);2850 2851 // Regression assertion (captures the current behavior of the code)2852 org.junit.Assert.assertTrue(i6 == 0);2853 2854 // Regression assertion (captures the current behavior of the code)2855 org.junit.Assert.assertTrue(i8 == 0);2856 2857 // Regression assertion (captures the current behavior of the code)2858 org.junit.Assert.assertTrue(i10 == 1);2859 2860 // Regression assertion (captures the current behavior of the code)2861 org.junit.Assert.assertTrue(i11 == 1);2862 }2863 @Test2864 public void test075() throws Throwable {2865 if (debug) { System.out.format("%n%s%n","RegressionTest2.test075"); }2866 container.Container container0 = new container.Container();2867 int i2 = container0.put((int)(short)1);2868 int i4 = container0.get(1);2869 int i5 = container0.size();2870 container0.printContainer();2871 int i7 = container0.size();2872 int i9 = container0.put((int)(byte)0);2873 container0.printContainer();2874 int i12 = container0.remove((int)' ');2875 int i14 = container0.get(100);2876 int i16 = container0.remove(1);2877 int i17 = container0.size();2878 2879 // Regression assertion (captures the current behavior of the code)2880 org.junit.Assert.assertTrue(i2 == 1);2881 2882 // Regression assertion (captures the current behavior of the code)2883 org.junit.Assert.assertTrue(i4 == 1);2884 2885 // Regression assertion (captures the current behavior of the code)2886 org.junit.Assert.assertTrue(i5 == 1);2887 2888 // Regression assertion (captures the current behavior of the code)2889 org.junit.Assert.assertTrue(i7 == 1);2890 2891 // Regression assertion (captures the current behavior of the code)2892 org.junit.Assert.assertTrue(i9 == 1);2893 2894 // Regression assertion (captures the current behavior of the code)2895 org.junit.Assert.assertTrue(i12 == 0);2896 2897 // Regression assertion (captures the current behavior of the code)2898 org.junit.Assert.assertTrue(i14 == 0);2899 2900 // Regression assertion (captures the current behavior of the code)2901 org.junit.Assert.assertTrue(i16 == 1);2902 2903 // Regression assertion (captures the current behavior of the code)2904 org.junit.Assert.assertTrue(i17 == 1);2905 }2906 @Test2907 public void test076() throws Throwable {2908 if (debug) { System.out.format("%n%s%n","RegressionTest2.test076"); }2909 container.Container container0 = new container.Container();2910 int i2 = container0.put((int)(byte)-1);2911 int i4 = container0.put((int)(byte)100);2912 int i6 = container0.put(100);2913 int i8 = container0.put((-1));2914 int i9 = container0.size();2915 int i11 = container0.put(1);2916 int i12 = container0.size();2917 int i14 = container0.remove(2);2918 container0.printContainer();2919 2920 // Regression assertion (captures the current behavior of the code)2921 org.junit.Assert.assertTrue(i2 == 1);2922 2923 // Regression assertion (captures the current behavior of the code)2924 org.junit.Assert.assertTrue(i4 == 1);2925 2926 // Regression assertion (captures the current behavior of the code)2927 org.junit.Assert.assertTrue(i6 == 0);2928 2929 // Regression assertion (captures the current behavior of the code)2930 org.junit.Assert.assertTrue(i8 == 0);2931 2932 // Regression assertion (captures the current behavior of the code)2933 org.junit.Assert.assertTrue(i9 == 2);2934 2935 // Regression assertion (captures the current behavior of the code)2936 org.junit.Assert.assertTrue(i11 == 1);2937 2938 // Regression assertion (captures the current behavior of the code)2939 org.junit.Assert.assertTrue(i12 == 3);2940 2941 // Regression assertion (captures the current behavior of the code)2942 org.junit.Assert.assertTrue(i14 == 0);2943 }2944 @Test2945 public void test077() throws Throwable {2946 if (debug) { System.out.format("%n%s%n","RegressionTest2.test077"); }2947 container.Container container0 = new container.Container();2948 int i2 = container0.put((int)(short)1);2949 int i4 = container0.get(1);2950 container0.printContainer();2951 int i6 = container0.size();2952 int i8 = container0.remove((int)(byte)1);2953 int i10 = container0.put((int)(short)1);2954 int i12 = container0.get((int)(byte)0);2955 int i14 = container0.remove((int)'a');2956 2957 // Regression assertion (captures the current behavior of the code)2958 org.junit.Assert.assertTrue(i2 == 1);2959 2960 // Regression assertion (captures the current behavior of the code)2961 org.junit.Assert.assertTrue(i4 == 1);2962 2963 // Regression assertion (captures the current behavior of the code)2964 org.junit.Assert.assertTrue(i6 == 1);2965 2966 // Regression assertion (captures the current behavior of the code)2967 org.junit.Assert.assertTrue(i8 == 1);2968 2969 // Regression assertion (captures the current behavior of the code)2970 org.junit.Assert.assertTrue(i10 == 1);2971 2972 // Regression assertion (captures the current behavior of the code)2973 org.junit.Assert.assertTrue(i12 == 0);2974 2975 // Regression assertion (captures the current behavior of the code)2976 org.junit.Assert.assertTrue(i14 == 0);2977 }2978 @Test2979 public void test078() throws Throwable {2980 if (debug) { System.out.format("%n%s%n","RegressionTest2.test078"); }2981 container.Container container0 = new container.Container();2982 int i2 = container0.remove((int)(short)10);2983 int i4 = container0.put((int)(byte)100);2984 2985 // Regression assertion (captures the current behavior of the code)2986 org.junit.Assert.assertTrue(i2 == 0);2987 2988 // Regression assertion (captures the current behavior of the code)2989 org.junit.Assert.assertTrue(i4 == 1);2990 }2991 @Test2992 public void test079() throws Throwable {2993 if (debug) { System.out.format("%n%s%n","RegressionTest2.test079"); }2994 container.Container container0 = new container.Container();2995 int i2 = container0.put((int)(short)1);2996 int i4 = container0.get(1);2997 int i6 = container0.put(0);2998 int i8 = container0.get((int)(byte)1);2999 container0.printContainer();3000 container0.printContainer();3001 int i12 = container0.put((int)'4');3002 3003 // Regression assertion (captures the current behavior of the code)3004 org.junit.Assert.assertTrue(i2 == 1);3005 3006 // Regression assertion (captures the current behavior of the code)3007 org.junit.Assert.assertTrue(i4 == 1);3008 3009 // Regression assertion (captures the current behavior of the code)3010 org.junit.Assert.assertTrue(i6 == 1);3011 3012 // Regression assertion (captures the current behavior of the code)3013 org.junit.Assert.assertTrue(i8 == 1);3014 3015 // Regression assertion (captures the current behavior of the code)3016 org.junit.Assert.assertTrue(i12 == 1);3017 }3018 @Test3019 public void test080() throws Throwable {3020 if (debug) { System.out.format("%n%s%n","RegressionTest2.test080"); }3021 container.Container container0 = new container.Container();3022 int i2 = container0.put((int)(short)1);3023 int i4 = container0.get(1);3024 int i6 = container0.put(0);3025 int i8 = container0.get(1);3026 int i10 = container0.remove((int)' ');3027 int i12 = container0.put(3);3028 3029 // Regression assertion (captures the current behavior of the code)3030 org.junit.Assert.assertTrue(i2 == 1);3031 3032 // Regression assertion (captures the current behavior of the code)3033 org.junit.Assert.assertTrue(i4 == 1);3034 3035 // Regression assertion (captures the current behavior of the code)3036 org.junit.Assert.assertTrue(i6 == 1);3037 3038 // Regression assertion (captures the current behavior of the code)3039 org.junit.Assert.assertTrue(i8 == 1);3040 3041 // Regression assertion (captures the current behavior of the code)3042 org.junit.Assert.assertTrue(i10 == 0);3043 3044 // Regression assertion (captures the current behavior of the code)3045 org.junit.Assert.assertTrue(i12 == 1);3046 }3047 @Test3048 public void test081() throws Throwable {3049 if (debug) { System.out.format("%n%s%n","RegressionTest2.test081"); }3050 container.Container container0 = new container.Container();3051 int i2 = container0.put((int)(short)1);3052 int i4 = container0.get(1);3053 container0.printContainer();3054 int i7 = container0.remove((int)'#');3055 int i9 = container0.remove((int)(byte)-1);3056 int i11 = container0.remove((-1));3057 int i12 = container0.size();3058 container0.printContainer();3059 3060 // Regression assertion (captures the current behavior of the code)3061 org.junit.Assert.assertTrue(i2 == 1);3062 3063 // Regression assertion (captures the current behavior of the code)3064 org.junit.Assert.assertTrue(i4 == 1);3065 3066 // Regression assertion (captures the current behavior of the code)3067 org.junit.Assert.assertTrue(i7 == 0);3068 3069 // Regression assertion (captures the current behavior of the code)3070 org.junit.Assert.assertTrue(i9 == 0);3071 3072 // Regression assertion (captures the current behavior of the code)3073 org.junit.Assert.assertTrue(i11 == 0);3074 3075 // Regression assertion (captures the current behavior of the code)3076 org.junit.Assert.assertTrue(i12 == 1);3077 }3078 @Test3079 public void test082() throws Throwable {3080 if (debug) { System.out.format("%n%s%n","RegressionTest2.test082"); }3081 container.Container container0 = new container.Container();3082 int i2 = container0.put((int)(byte)-1);3083 int i4 = container0.put((int)(byte)100);3084 int i6 = container0.put((int)(short)100);3085 int i8 = container0.get((int)'a');3086 container0.printContainer();3087 int i11 = container0.put((int)'a');3088 3089 // Regression assertion (captures the current behavior of the code)3090 org.junit.Assert.assertTrue(i2 == 1);3091 3092 // Regression assertion (captures the current behavior of the code)3093 org.junit.Assert.assertTrue(i4 == 1);3094 3095 // Regression assertion (captures the current behavior of the code)3096 org.junit.Assert.assertTrue(i6 == 0);3097 3098 // Regression assertion (captures the current behavior of the code)3099 org.junit.Assert.assertTrue(i8 == 0);3100 3101 // Regression assertion (captures the current behavior of the code)3102 org.junit.Assert.assertTrue(i11 == 1);3103 }3104 @Test3105 public void test083() throws Throwable {3106 if (debug) { System.out.format("%n%s%n","RegressionTest2.test083"); }3107 container.Container container0 = new container.Container();3108 int i2 = container0.put((int)(byte)-1);3109 int i4 = container0.put((int)(byte)100);3110 int i6 = container0.put(100);3111 int i7 = container0.size();3112 container0.printContainer();3113 int i10 = container0.get((int)'#');3114 3115 // Regression assertion (captures the current behavior of the code)3116 org.junit.Assert.assertTrue(i2 == 1);3117 3118 // Regression assertion (captures the current behavior of the code)3119 org.junit.Assert.assertTrue(i4 == 1);3120 3121 // Regression assertion (captures the current behavior of the code)3122 org.junit.Assert.assertTrue(i6 == 0);3123 3124 // Regression assertion (captures the current behavior of the code)3125 org.junit.Assert.assertTrue(i7 == 2);3126 3127 // Regression assertion (captures the current behavior of the code)3128 org.junit.Assert.assertTrue(i10 == 0);3129 }3130 @Test3131 public void test084() throws Throwable {3132 if (debug) { System.out.format("%n%s%n","RegressionTest2.test084"); }3133 container.Container container0 = new container.Container();3134 int i2 = container0.put((int)(short)1);3135 int i4 = container0.get(1);3136 container0.printContainer();3137 container0.printContainer();3138 int i8 = container0.get((int)(short)-1);3139 int i10 = container0.get(100);3140 int i12 = container0.put(10);3141 int i14 = container0.remove(10);3142 int i16 = container0.put((int)(byte)-1);3143 int i18 = container0.get((int)(byte)1);3144 int i20 = container0.remove(10);3145 int i22 = container0.put((int)(short)10);3146 3147 // Regression assertion (captures the current behavior of the code)3148 org.junit.Assert.assertTrue(i2 == 1);3149 3150 // Regression assertion (captures the current behavior of the code)3151 org.junit.Assert.assertTrue(i4 == 1);3152 3153 // Regression assertion (captures the current behavior of the code)3154 org.junit.Assert.assertTrue(i8 == 0);3155 3156 // Regression assertion (captures the current behavior of the code)3157 org.junit.Assert.assertTrue(i10 == 0);3158 3159 // Regression assertion (captures the current behavior of the code)3160 org.junit.Assert.assertTrue(i12 == 1);3161 3162 // Regression assertion (captures the current behavior of the code)3163 org.junit.Assert.assertTrue(i14 == 1);3164 3165 // Regression assertion (captures the current behavior of the code)3166 org.junit.Assert.assertTrue(i16 == 1);3167 3168 // Regression assertion (captures the current behavior of the code)3169 org.junit.Assert.assertTrue(i18 == 1);3170 3171 // Regression assertion (captures the current behavior of the code)3172 org.junit.Assert.assertTrue(i20 == 0);3173 3174 // Regression assertion (captures the current behavior of the code)3175 org.junit.Assert.assertTrue(i22 == 1);3176 }3177 @Test3178 public void test085() throws Throwable {3179 if (debug) { System.out.format("%n%s%n","RegressionTest2.test085"); }3180 container.Container container0 = new container.Container();3181 int i2 = container0.put((int)(short)1);3182 int i4 = container0.get((int)(byte)10);3183 int i6 = container0.put((int)(short)1);3184 container0.printContainer();3185 container0.printContainer();3186 int i10 = container0.remove((int)(short)-1);3187 int i11 = container0.size();3188 int i13 = container0.remove((int)(short)100);3189 int i15 = container0.put((int)(byte)10);3190 int i17 = container0.put(100);3191 int i18 = container0.size();3192 int i20 = container0.remove((int)(short)1);3193 int i22 = container0.put(3);3194 3195 // Regression assertion (captures the current behavior of the code)3196 org.junit.Assert.assertTrue(i2 == 1);3197 3198 // Regression assertion (captures the current behavior of the code)3199 org.junit.Assert.assertTrue(i4 == 0);3200 3201 // Regression assertion (captures the current behavior of the code)3202 org.junit.Assert.assertTrue(i6 == 0);3203 3204 // Regression assertion (captures the current behavior of the code)3205 org.junit.Assert.assertTrue(i10 == 0);3206 3207 // Regression assertion (captures the current behavior of the code)3208 org.junit.Assert.assertTrue(i11 == 1);3209 3210 // Regression assertion (captures the current behavior of the code)3211 org.junit.Assert.assertTrue(i13 == 0);3212 3213 // Regression assertion (captures the current behavior of the code)3214 org.junit.Assert.assertTrue(i15 == 1);3215 3216 // Regression assertion (captures the current behavior of the code)3217 org.junit.Assert.assertTrue(i17 == 1);3218 3219 // Regression assertion (captures the current behavior of the code)3220 org.junit.Assert.assertTrue(i18 == 3);3221 3222 // Regression assertion (captures the current behavior of the code)3223 org.junit.Assert.assertTrue(i20 == 1);3224 3225 // Regression assertion (captures the current behavior of the code)3226 org.junit.Assert.assertTrue(i22 == 1);3227 }3228 @Test3229 public void test086() throws Throwable {3230 if (debug) { System.out.format("%n%s%n","RegressionTest2.test086"); }3231 container.Container container0 = new container.Container();3232 int i2 = container0.put((int)(short)1);3233 int i4 = container0.get((int)(byte)10);3234 int i6 = container0.put((int)(short)1);3235 int i8 = container0.get((int)(byte)10);3236 int i10 = container0.get((-1));3237 int i12 = container0.remove((int)(byte)0);3238 int i14 = container0.get((int)(short)10);3239 int i16 = container0.get(0);3240 int i17 = container0.size();3241 int i18 = container0.size();3242 3243 // Regression assertion (captures the current behavior of the code)3244 org.junit.Assert.assertTrue(i2 == 1);3245 3246 // Regression assertion (captures the current behavior of the code)3247 org.junit.Assert.assertTrue(i4 == 0);3248 3249 // Regression assertion (captures the current behavior of the code)3250 org.junit.Assert.assertTrue(i6 == 0);3251 3252 // Regression assertion (captures the current behavior of the code)3253 org.junit.Assert.assertTrue(i8 == 0);3254 3255 // Regression assertion (captures the current behavior of the code)3256 org.junit.Assert.assertTrue(i10 == 0);3257 3258 // Regression assertion (captures the current behavior of the code)3259 org.junit.Assert.assertTrue(i12 == 0);3260 3261 // Regression assertion (captures the current behavior of the code)3262 org.junit.Assert.assertTrue(i14 == 0);3263 3264 // Regression assertion (captures the current behavior of the code)3265 org.junit.Assert.assertTrue(i16 == 0);3266 3267 // Regression assertion (captures the current behavior of the code)3268 org.junit.Assert.assertTrue(i17 == 1);3269 3270 // Regression assertion (captures the current behavior of the code)3271 org.junit.Assert.assertTrue(i18 == 1);3272 }3273 @Test3274 public void test087() throws Throwable {3275 if (debug) { System.out.format("%n%s%n","RegressionTest2.test087"); }3276 container.Container container0 = new container.Container();3277 container0.printContainer();3278 int i3 = container0.remove((int)'a');3279 int i5 = container0.get(2);3280 container0.printContainer();3281 3282 // Regression assertion (captures the current behavior of the code)3283 org.junit.Assert.assertTrue(i3 == 0);3284 3285 // Regression assertion (captures the current behavior of the code)3286 org.junit.Assert.assertTrue(i5 == 0);3287 }3288 @Test3289 public void test088() throws Throwable {3290 if (debug) { System.out.format("%n%s%n","RegressionTest2.test088"); }3291 container.Container container0 = new container.Container();3292 int i2 = container0.put((int)(byte)-1);3293 int i4 = container0.put((int)(byte)100);3294 int i6 = container0.put(100);3295 int i8 = container0.put((-1));3296 int i10 = container0.get((int)'#');3297 int i12 = container0.remove(0);3298 int i14 = container0.remove(4);3299 container0.printContainer();3300 int i17 = container0.get(5);3301 int i19 = container0.put((-1));3302 3303 // Regression assertion (captures the current behavior of the code)3304 org.junit.Assert.assertTrue(i2 == 1);3305 3306 // Regression assertion (captures the current behavior of the code)3307 org.junit.Assert.assertTrue(i4 == 1);3308 3309 // Regression assertion (captures the current behavior of the code)3310 org.junit.Assert.assertTrue(i6 == 0);3311 3312 // Regression assertion (captures the current behavior of the code)3313 org.junit.Assert.assertTrue(i8 == 0);3314 3315 // Regression assertion (captures the current behavior of the code)3316 org.junit.Assert.assertTrue(i10 == 0);3317 3318 // Regression assertion (captures the current behavior of the code)3319 org.junit.Assert.assertTrue(i12 == 0);3320 3321 // Regression assertion (captures the current behavior of the code)3322 org.junit.Assert.assertTrue(i14 == 0);3323 3324 // Regression assertion (captures the current behavior of the code)3325 org.junit.Assert.assertTrue(i17 == 0);3326 3327 // Regression assertion (captures the current behavior of the code)3328 org.junit.Assert.assertTrue(i19 == 0);3329 }3330 @Test3331 public void test089() throws Throwable {3332 if (debug) { System.out.format("%n%s%n","RegressionTest2.test089"); }3333 container.Container container0 = new container.Container();3334 int i2 = container0.put((int)(byte)-1);3335 int i4 = container0.put((int)(byte)100);3336 int i6 = container0.put(100);3337 int i8 = container0.put((-1));3338 int i10 = container0.get((int)'#');3339 container0.printContainer();3340 int i13 = container0.remove((int)(short)-1);3341 int i15 = container0.get(0);3342 int i17 = container0.remove((int)(short)0);3343 int i19 = container0.remove((int)(short)10);3344 int i21 = container0.get((int)'a');3345 3346 // Regression assertion (captures the current behavior of the code)3347 org.junit.Assert.assertTrue(i2 == 1);3348 3349 // Regression assertion (captures the current behavior of the code)3350 org.junit.Assert.assertTrue(i4 == 1);3351 3352 // Regression assertion (captures the current behavior of the code)3353 org.junit.Assert.assertTrue(i6 == 0);3354 3355 // Regression assertion (captures the current behavior of the code)3356 org.junit.Assert.assertTrue(i8 == 0);3357 3358 // Regression assertion (captures the current behavior of the code)3359 org.junit.Assert.assertTrue(i10 == 0);3360 3361 // Regression assertion (captures the current behavior of the code)3362 org.junit.Assert.assertTrue(i13 == 1);3363 3364 // Regression assertion (captures the current behavior of the code)3365 org.junit.Assert.assertTrue(i15 == 0);3366 3367 // Regression assertion (captures the current behavior of the code)3368 org.junit.Assert.assertTrue(i17 == 0);3369 3370 // Regression assertion (captures the current behavior of the code)3371 org.junit.Assert.assertTrue(i19 == 0);3372 3373 // Regression assertion (captures the current behavior of the code)3374 org.junit.Assert.assertTrue(i21 == 0);3375 }3376 @Test3377 public void test090() throws Throwable {3378 if (debug) { System.out.format("%n%s%n","RegressionTest2.test090"); }3379 container.Container container0 = new container.Container();3380 int i2 = container0.put((int)(short)1);3381 int i4 = container0.put((int)(short)0);3382 int i6 = container0.put((int)'a');3383 container0.printContainer();3384 int i9 = container0.put((-1));3385 int i11 = container0.put((int)(short)-1);3386 int i13 = container0.remove((int)' ');3387 int i15 = container0.get((int)(byte)0);3388 3389 // Regression assertion (captures the current behavior of the code)3390 org.junit.Assert.assertTrue(i2 == 1);3391 3392 // Regression assertion (captures the current behavior of the code)3393 org.junit.Assert.assertTrue(i4 == 1);3394 3395 // Regression assertion (captures the current behavior of the code)3396 org.junit.Assert.assertTrue(i6 == 1);3397 3398 // Regression assertion (captures the current behavior of the code)3399 org.junit.Assert.assertTrue(i9 == 1);3400 3401 // Regression assertion (captures the current behavior of the code)3402 org.junit.Assert.assertTrue(i11 == 0);3403 3404 // Regression assertion (captures the current behavior of the code)3405 org.junit.Assert.assertTrue(i13 == 0);3406 3407 // Regression assertion (captures the current behavior of the code)3408 org.junit.Assert.assertTrue(i15 == 1);3409 }3410 @Test3411 public void test091() throws Throwable {3412 if (debug) { System.out.format("%n%s%n","RegressionTest2.test091"); }3413 container.Container container0 = new container.Container();3414 int i2 = container0.put((int)(short)1);3415 int i4 = container0.get(1);3416 container0.printContainer();3417 container0.printContainer();3418 int i8 = container0.get((int)(short)-1);3419 int i10 = container0.get(100);3420 int i12 = container0.put(10);3421 int i13 = container0.size();3422 int i15 = container0.put((int)(short)-1);3423 int i17 = container0.put(0);3424 int i18 = container0.size();3425 int i19 = container0.size();3426 3427 // Regression assertion (captures the current behavior of the code)3428 org.junit.Assert.assertTrue(i2 == 1);3429 3430 // Regression assertion (captures the current behavior of the code)3431 org.junit.Assert.assertTrue(i4 == 1);3432 3433 // Regression assertion (captures the current behavior of the code)3434 org.junit.Assert.assertTrue(i8 == 0);3435 3436 // Regression assertion (captures the current behavior of the code)3437 org.junit.Assert.assertTrue(i10 == 0);3438 3439 // Regression assertion (captures the current behavior of the code)3440 org.junit.Assert.assertTrue(i12 == 1);3441 3442 // Regression assertion (captures the current behavior of the code)3443 org.junit.Assert.assertTrue(i13 == 2);3444 3445 // Regression assertion (captures the current behavior of the code)3446 org.junit.Assert.assertTrue(i15 == 1);3447 3448 // Regression assertion (captures the current behavior of the code)3449 org.junit.Assert.assertTrue(i17 == 1);3450 3451 // Regression assertion (captures the current behavior of the code)3452 org.junit.Assert.assertTrue(i18 == 4);3453 3454 // Regression assertion (captures the current behavior of the code)3455 org.junit.Assert.assertTrue(i19 == 4);3456 }3457 @Test3458 public void test092() throws Throwable {3459 if (debug) { System.out.format("%n%s%n","RegressionTest2.test092"); }3460 container.Container container0 = new container.Container();3461 int i2 = container0.put((int)(short)1);3462 int i4 = container0.get((int)(byte)10);3463 int i6 = container0.remove((int)(short)-1);3464 int i8 = container0.remove(10);3465 int i10 = container0.get(10);3466 int i12 = container0.put(10);3467 int i14 = container0.put((int)' ');3468 int i16 = container0.remove((int)(byte)-1);3469 int i17 = container0.size();3470 container0.printContainer();3471 int i20 = container0.remove((int)(short)1);3472 int i22 = container0.remove(0);3473 3474 // Regression assertion (captures the current behavior of the code)3475 org.junit.Assert.assertTrue(i2 == 1);3476 3477 // Regression assertion (captures the current behavior of the code)3478 org.junit.Assert.assertTrue(i4 == 0);3479 3480 // Regression assertion (captures the current behavior of the code)3481 org.junit.Assert.assertTrue(i6 == 0);3482 3483 // Regression assertion (captures the current behavior of the code)3484 org.junit.Assert.assertTrue(i8 == 0);3485 3486 // Regression assertion (captures the current behavior of the code)3487 org.junit.Assert.assertTrue(i10 == 0);3488 3489 // Regression assertion (captures the current behavior of the code)3490 org.junit.Assert.assertTrue(i12 == 1);3491 3492 // Regression assertion (captures the current behavior of the code)3493 org.junit.Assert.assertTrue(i14 == 1);3494 3495 // Regression assertion (captures the current behavior of the code)3496 org.junit.Assert.assertTrue(i16 == 0);3497 3498 // Regression assertion (captures the current behavior of the code)3499 org.junit.Assert.assertTrue(i17 == 3);3500 3501 // Regression assertion (captures the current behavior of the code)3502 org.junit.Assert.assertTrue(i20 == 1);3503 3504 // Regression assertion (captures the current behavior of the code)3505 org.junit.Assert.assertTrue(i22 == 0);3506 }3507 @Test3508 public void test093() throws Throwable {3509 if (debug) { System.out.format("%n%s%n","RegressionTest2.test093"); }3510 container.Container container0 = new container.Container();3511 int i2 = container0.put((int)(short)1);3512 int i4 = container0.get(1);3513 container0.printContainer();3514 container0.printContainer();3515 int i8 = container0.get((int)(short)-1);3516 int i10 = container0.get(100);3517 int i12 = container0.put(10);3518 int i14 = container0.remove(10);3519 int i16 = container0.remove((int)(byte)10);3520 container0.printContainer();3521 3522 // Regression assertion (captures the current behavior of the code)3523 org.junit.Assert.assertTrue(i2 == 1);3524 3525 // Regression assertion (captures the current behavior of the code)3526 org.junit.Assert.assertTrue(i4 == 1);3527 3528 // Regression assertion (captures the current behavior of the code)3529 org.junit.Assert.assertTrue(i8 == 0);3530 3531 // Regression assertion (captures the current behavior of the code)3532 org.junit.Assert.assertTrue(i10 == 0);3533 3534 // Regression assertion (captures the current behavior of the code)3535 org.junit.Assert.assertTrue(i12 == 1);3536 3537 // Regression assertion (captures the current behavior of the code)3538 org.junit.Assert.assertTrue(i14 == 1);3539 3540 // Regression assertion (captures the current behavior of the code)3541 org.junit.Assert.assertTrue(i16 == 0);3542 }3543 @Test3544 public void test094() throws Throwable {3545 if (debug) { System.out.format("%n%s%n","RegressionTest2.test094"); }3546 container.Container container0 = new container.Container();3547 int i2 = container0.put((int)(short)1);3548 int i4 = container0.get(1);3549 int i6 = container0.put(0);3550 int i8 = container0.get((int)(byte)1);3551 container0.printContainer();3552 int i11 = container0.remove((int)(byte)-1);3553 int i13 = container0.put((int)(short)10);3554 3555 // Regression assertion (captures the current behavior of the code)3556 org.junit.Assert.assertTrue(i2 == 1);3557 3558 // Regression assertion (captures the current behavior of the code)3559 org.junit.Assert.assertTrue(i4 == 1);3560 3561 // Regression assertion (captures the current behavior of the code)3562 org.junit.Assert.assertTrue(i6 == 1);3563 3564 // Regression assertion (captures the current behavior of the code)3565 org.junit.Assert.assertTrue(i8 == 1);3566 3567 // Regression assertion (captures the current behavior of the code)3568 org.junit.Assert.assertTrue(i11 == 0);3569 3570 // Regression assertion (captures the current behavior of the code)3571 org.junit.Assert.assertTrue(i13 == 1);3572 }3573 @Test3574 public void test095() throws Throwable {3575 if (debug) { System.out.format("%n%s%n","RegressionTest2.test095"); }3576 container.Container container0 = new container.Container();3577 int i2 = container0.put((int)(short)1);3578 int i4 = container0.get((int)(byte)10);3579 container0.printContainer();3580 int i7 = container0.remove((int)(byte)10);3581 int i9 = container0.get((-1));3582 int i11 = container0.put((int)(byte)100);3583 int i13 = container0.get((int)(byte)0);3584 int i15 = container0.get((int)'4');3585 int i17 = container0.remove(1);3586 int i19 = container0.remove(10);3587 int i21 = container0.remove((int)'a');3588 int i23 = container0.remove((int)(byte)10);3589 int i25 = container0.put((int)(short)1);3590 3591 // Regression assertion (captures the current behavior of the code)3592 org.junit.Assert.assertTrue(i2 == 1);3593 3594 // Regression assertion (captures the current behavior of the code)3595 org.junit.Assert.assertTrue(i4 == 0);3596 3597 // Regression assertion (captures the current behavior of the code)3598 org.junit.Assert.assertTrue(i7 == 0);3599 3600 // Regression assertion (captures the current behavior of the code)3601 org.junit.Assert.assertTrue(i9 == 0);3602 3603 // Regression assertion (captures the current behavior of the code)3604 org.junit.Assert.assertTrue(i11 == 1);3605 3606 // Regression assertion (captures the current behavior of the code)3607 org.junit.Assert.assertTrue(i13 == 0);3608 3609 // Regression assertion (captures the current behavior of the code)3610 org.junit.Assert.assertTrue(i15 == 0);3611 3612 // Regression assertion (captures the current behavior of the code)3613 org.junit.Assert.assertTrue(i17 == 1);3614 3615 // Regression assertion (captures the current behavior of the code)3616 org.junit.Assert.assertTrue(i19 == 0);3617 3618 // Regression assertion (captures the current behavior of the code)3619 org.junit.Assert.assertTrue(i21 == 0);3620 3621 // Regression assertion (captures the current behavior of the code)3622 org.junit.Assert.assertTrue(i23 == 0);3623 3624 // Regression assertion (captures the current behavior of the code)3625 org.junit.Assert.assertTrue(i25 == 1);3626 }3627 @Test3628 public void test096() throws Throwable {3629 if (debug) { System.out.format("%n%s%n","RegressionTest2.test096"); }3630 container.Container container0 = new container.Container();3631 int i2 = container0.put((int)(short)1);3632 int i4 = container0.get(1);3633 int i5 = container0.size();3634 container0.printContainer();3635 int i7 = container0.size();3636 int i9 = container0.remove(100);3637 int i11 = container0.put((int)(byte)1);3638 int i13 = container0.remove(100);3639 int i14 = container0.size();3640 int i16 = container0.remove(0);3641 3642 // Regression assertion (captures the current behavior of the code)3643 org.junit.Assert.assertTrue(i2 == 1);3644 3645 // Regression assertion (captures the current behavior of the code)3646 org.junit.Assert.assertTrue(i4 == 1);3647 3648 // Regression assertion (captures the current behavior of the code)3649 org.junit.Assert.assertTrue(i5 == 1);3650 3651 // Regression assertion (captures the current behavior of the code)3652 org.junit.Assert.assertTrue(i7 == 1);3653 3654 // Regression assertion (captures the current behavior of the code)3655 org.junit.Assert.assertTrue(i9 == 0);3656 3657 // Regression assertion (captures the current behavior of the code)3658 org.junit.Assert.assertTrue(i11 == 0);3659 3660 // Regression assertion (captures the current behavior of the code)3661 org.junit.Assert.assertTrue(i13 == 0);3662 3663 // Regression assertion (captures the current behavior of the code)3664 org.junit.Assert.assertTrue(i14 == 1);3665 3666 // Regression assertion (captures the current behavior of the code)3667 org.junit.Assert.assertTrue(i16 == 0);3668 }3669 @Test3670 public void test097() throws Throwable {3671 if (debug) { System.out.format("%n%s%n","RegressionTest2.test097"); }3672 container.Container container0 = new container.Container();3673 int i2 = container0.put((int)(short)1);3674 int i4 = container0.get((int)(byte)10);3675 int i6 = container0.remove((int)(short)-1);3676 int i8 = container0.remove(10);3677 int i10 = container0.get(10);3678 int i12 = container0.put(10);3679 int i14 = container0.put((int)' ');3680 int i16 = container0.remove((int)(byte)-1);3681 int i18 = container0.get(3);3682 int i20 = container0.get((int)(byte)100);3683 int i22 = container0.put((int)(short)-1);3684 int i24 = container0.get(3);3685 int i25 = container0.size();3686 int i27 = container0.get((-1));3687 container0.printContainer();3688 3689 // Regression assertion (captures the current behavior of the code)3690 org.junit.Assert.assertTrue(i2 == 1);3691 3692 // Regression assertion (captures the current behavior of the code)3693 org.junit.Assert.assertTrue(i4 == 0);3694 3695 // Regression assertion (captures the current behavior of the code)3696 org.junit.Assert.assertTrue(i6 == 0);3697 3698 // Regression assertion (captures the current behavior of the code)3699 org.junit.Assert.assertTrue(i8 == 0);3700 3701 // Regression assertion (captures the current behavior of the code)3702 org.junit.Assert.assertTrue(i10 == 0);3703 3704 // Regression assertion (captures the current behavior of the code)3705 org.junit.Assert.assertTrue(i12 == 1);3706 3707 // Regression assertion (captures the current behavior of the code)3708 org.junit.Assert.assertTrue(i14 == 1);3709 3710 // Regression assertion (captures the current behavior of the code)3711 org.junit.Assert.assertTrue(i16 == 0);3712 3713 // Regression assertion (captures the current behavior of the code)3714 org.junit.Assert.assertTrue(i18 == 0);3715 3716 // Regression assertion (captures the current behavior of the code)3717 org.junit.Assert.assertTrue(i20 == 0);3718 3719 // Regression assertion (captures the current behavior of the code)3720 org.junit.Assert.assertTrue(i22 == 1);3721 3722 // Regression assertion (captures the current behavior of the code)3723 org.junit.Assert.assertTrue(i24 == 0);3724 3725 // Regression assertion (captures the current behavior of the code)3726 org.junit.Assert.assertTrue(i25 == 4);3727 3728 // Regression assertion (captures the current behavior of the code)3729 org.junit.Assert.assertTrue(i27 == 1);3730 }3731 @Test3732 public void test098() throws Throwable {3733 if (debug) { System.out.format("%n%s%n","RegressionTest2.test098"); }3734 container.Container container0 = new container.Container();3735 int i2 = container0.put((int)(byte)-1);3736 int i4 = container0.put((int)(byte)100);3737 int i6 = container0.put(100);3738 int i8 = container0.put((-1));3739 int i10 = container0.get((int)'#');3740 int i12 = container0.put((int)(short)100);3741 int i14 = container0.remove((int)(short)0);3742 container0.printContainer();3743 int i17 = container0.get((int)'4');3744 int i19 = container0.get(0);3745 int i21 = container0.remove(1);3746 int i22 = container0.size();3747 3748 // Regression assertion (captures the current behavior of the code)3749 org.junit.Assert.assertTrue(i2 == 1);3750 3751 // Regression assertion (captures the current behavior of the code)3752 org.junit.Assert.assertTrue(i4 == 1);3753 3754 // Regression assertion (captures the current behavior of the code)3755 org.junit.Assert.assertTrue(i6 == 0);3756 3757 // Regression assertion (captures the current behavior of the code)3758 org.junit.Assert.assertTrue(i8 == 0);3759 3760 // Regression assertion (captures the current behavior of the code)3761 org.junit.Assert.assertTrue(i10 == 0);3762 3763 // Regression assertion (captures the current behavior of the code)3764 org.junit.Assert.assertTrue(i12 == 0);3765 3766 // Regression assertion (captures the current behavior of the code)3767 org.junit.Assert.assertTrue(i14 == 0);3768 3769 // Regression assertion (captures the current behavior of the code)3770 org.junit.Assert.assertTrue(i17 == 0);3771 3772 // Regression assertion (captures the current behavior of the code)3773 org.junit.Assert.assertTrue(i19 == 0);3774 3775 // Regression assertion (captures the current behavior of the code)3776 org.junit.Assert.assertTrue(i21 == 0);3777 3778 // Regression assertion (captures the current behavior of the code)3779 org.junit.Assert.assertTrue(i22 == 2);3780 }3781 @Test3782 public void test099() throws Throwable {3783 if (debug) { System.out.format("%n%s%n","RegressionTest2.test099"); }3784 container.Container container0 = new container.Container();3785 int i2 = container0.put((int)(short)1);3786 int i4 = container0.get((int)(byte)10);3787 int i6 = container0.remove((int)(short)-1);3788 int i8 = container0.put(100);3789 int i10 = container0.remove((int)' ');3790 int i12 = container0.get((-1));3791 container0.printContainer();3792 3793 // Regression assertion (captures the current behavior of the code)3794 org.junit.Assert.assertTrue(i2 == 1);3795 3796 // Regression assertion (captures the current behavior of the code)3797 org.junit.Assert.assertTrue(i4 == 0);3798 3799 // Regression assertion (captures the current behavior of the code)3800 org.junit.Assert.assertTrue(i6 == 0);3801 3802 // Regression assertion (captures the current behavior of the code)3803 org.junit.Assert.assertTrue(i8 == 1);3804 3805 // Regression assertion (captures the current behavior of the code)3806 org.junit.Assert.assertTrue(i10 == 0);3807 3808 // Regression assertion (captures the current behavior of the code)3809 org.junit.Assert.assertTrue(i12 == 0);3810 }3811 @Test3812 public void test100() throws Throwable {3813 if (debug) { System.out.format("%n%s%n","RegressionTest2.test100"); }3814 container.Container container0 = new container.Container();3815 int i2 = container0.put((int)(short)1);3816 int i4 = container0.get((int)(byte)10);3817 int i6 = container0.put((int)(short)1);3818 container0.printContainer();3819 container0.printContainer();3820 int i10 = container0.remove((int)(short)-1);3821 int i11 = container0.size();3822 int i13 = container0.remove((int)(short)100);3823 container0.printContainer();3824 int i16 = container0.get((-1));3825 int i18 = container0.put(1);3826 int i20 = container0.put(1);3827 int i22 = container0.put((int)'#');3828 3829 // Regression assertion (captures the current behavior of the code)3830 org.junit.Assert.assertTrue(i2 == 1);3831 3832 // Regression assertion (captures the current behavior of the code)3833 org.junit.Assert.assertTrue(i4 == 0);3834 3835 // Regression assertion (captures the current behavior of the code)3836 org.junit.Assert.assertTrue(i6 == 0);3837 3838 // Regression assertion (captures the current behavior of the code)3839 org.junit.Assert.assertTrue(i10 == 0);3840 3841 // Regression assertion (captures the current behavior of the code)3842 org.junit.Assert.assertTrue(i11 == 1);3843 3844 // Regression assertion (captures the current behavior of the code)3845 org.junit.Assert.assertTrue(i13 == 0);3846 3847 // Regression assertion (captures the current behavior of the code)3848 org.junit.Assert.assertTrue(i16 == 0);3849 3850 // Regression assertion (captures the current behavior of the code)3851 org.junit.Assert.assertTrue(i18 == 0);3852 3853 // Regression assertion (captures the current behavior of the code)3854 org.junit.Assert.assertTrue(i20 == 0);3855 3856 // Regression assertion (captures the current behavior of the code)3857 org.junit.Assert.assertTrue(i22 == 1);3858 }3859 @Test3860 public void test101() throws Throwable {3861 if (debug) { System.out.format("%n%s%n","RegressionTest2.test101"); }3862 container.Container container0 = new container.Container();3863 int i2 = container0.put((int)(short)1);3864 int i4 = container0.remove(10);3865 int i6 = container0.put(1);3866 int i7 = container0.size();3867 int i9 = container0.get((int)(byte)-1);3868 int i11 = container0.remove((int)'a');3869 int i12 = container0.size();3870 3871 // Regression assertion (captures the current behavior of the code)3872 org.junit.Assert.assertTrue(i2 == 1);3873 3874 // Regression assertion (captures the current behavior of the code)3875 org.junit.Assert.assertTrue(i4 == 0);3876 3877 // Regression assertion (captures the current behavior of the code)3878 org.junit.Assert.assertTrue(i6 == 0);3879 3880 // Regression assertion (captures the current behavior of the code)3881 org.junit.Assert.assertTrue(i7 == 1);3882 3883 // Regression assertion (captures the current behavior of the code)3884 org.junit.Assert.assertTrue(i9 == 0);3885 3886 // Regression assertion (captures the current behavior of the code)3887 org.junit.Assert.assertTrue(i11 == 0);3888 3889 // Regression assertion (captures the current behavior of the code)3890 org.junit.Assert.assertTrue(i12 == 1);3891 }3892 @Test3893 public void test102() throws Throwable {3894 if (debug) { System.out.format("%n%s%n","RegressionTest2.test102"); }3895 container.Container container0 = new container.Container();3896 int i2 = container0.put((int)(short)1);3897 int i4 = container0.get(1);3898 container0.printContainer();3899 container0.printContainer();3900 int i8 = container0.get((int)(byte)10);3901 int i10 = container0.get((int)(byte)100);3902 container0.printContainer();3903 int i13 = container0.remove(4);3904 int i14 = container0.size();3905 int i15 = container0.size();3906 int i16 = container0.size();3907 3908 // Regression assertion (captures the current behavior of the code)3909 org.junit.Assert.assertTrue(i2 == 1);3910 3911 // Regression assertion (captures the current behavior of the code)3912 org.junit.Assert.assertTrue(i4 == 1);3913 3914 // Regression assertion (captures the current behavior of the code)3915 org.junit.Assert.assertTrue(i8 == 0);3916 3917 // Regression assertion (captures the current behavior of the code)3918 org.junit.Assert.assertTrue(i10 == 0);3919 3920 // Regression assertion (captures the current behavior of the code)3921 org.junit.Assert.assertTrue(i13 == 0);3922 3923 // Regression assertion (captures the current behavior of the code)3924 org.junit.Assert.assertTrue(i14 == 1);3925 3926 // Regression assertion (captures the current behavior of the code)3927 org.junit.Assert.assertTrue(i15 == 1);3928 3929 // Regression assertion (captures the current behavior of the code)3930 org.junit.Assert.assertTrue(i16 == 1);3931 }3932 @Test3933 public void test103() throws Throwable {3934 if (debug) { System.out.format("%n%s%n","RegressionTest2.test103"); }3935 container.Container container0 = new container.Container();3936 int i2 = container0.put((int)(short)1);3937 int i4 = container0.get(1);3938 container0.printContainer();3939 int i6 = container0.size();3940 int i8 = container0.remove((int)(byte)1);3941 int i10 = container0.put((int)'#');3942 container0.printContainer();3943 container0.printContainer();3944 int i14 = container0.put(10);3945 int i16 = container0.remove((int)(short)1);3946 int i18 = container0.remove((int)(byte)10);3947 3948 // Regression assertion (captures the current behavior of the code)3949 org.junit.Assert.assertTrue(i2 == 1);3950 3951 // Regression assertion (captures the current behavior of the code)3952 org.junit.Assert.assertTrue(i4 == 1);3953 3954 // Regression assertion (captures the current behavior of the code)3955 org.junit.Assert.assertTrue(i6 == 1);3956 3957 // Regression assertion (captures the current behavior of the code)3958 org.junit.Assert.assertTrue(i8 == 1);3959 3960 // Regression assertion (captures the current behavior of the code)3961 org.junit.Assert.assertTrue(i10 == 1);3962 3963 // Regression assertion (captures the current behavior of the code)3964 org.junit.Assert.assertTrue(i14 == 1);3965 3966 // Regression assertion (captures the current behavior of the code)3967 org.junit.Assert.assertTrue(i16 == 0);3968 3969 // Regression assertion (captures the current behavior of the code)3970 org.junit.Assert.assertTrue(i18 == 1);3971 }3972 @Test3973 public void test104() throws Throwable {3974 if (debug) { System.out.format("%n%s%n","RegressionTest2.test104"); }3975 container.Container container0 = new container.Container();3976 int i2 = container0.put((int)(short)1);3977 int i4 = container0.get(1);3978 container0.printContainer();3979 container0.printContainer();3980 int i8 = container0.get((int)(byte)10);3981 int i10 = container0.get((int)(byte)100);3982 container0.printContainer();3983 int i13 = container0.put((int)(short)100);3984 int i15 = container0.remove(10);3985 int i16 = container0.size();3986 int i18 = container0.get(100);3987 int i19 = container0.size();3988 int i20 = container0.size();3989 3990 // Regression assertion (captures the current behavior of the code)3991 org.junit.Assert.assertTrue(i2 == 1);3992 3993 // Regression assertion (captures the current behavior of the code)3994 org.junit.Assert.assertTrue(i4 == 1);3995 3996 // Regression assertion (captures the current behavior of the code)3997 org.junit.Assert.assertTrue(i8 == 0);3998 3999 // Regression assertion (captures the current behavior of the code)4000 org.junit.Assert.assertTrue(i10 == 0);4001 4002 // Regression assertion (captures the current behavior of the code)4003 org.junit.Assert.assertTrue(i13 == 1);4004 4005 // Regression assertion (captures the current behavior of the code)4006 org.junit.Assert.assertTrue(i15 == 0);4007 4008 // Regression assertion (captures the current behavior of the code)4009 org.junit.Assert.assertTrue(i16 == 2);4010 4011 // Regression assertion (captures the current behavior of the code)4012 org.junit.Assert.assertTrue(i18 == 1);4013 4014 // Regression assertion (captures the current behavior of the code)4015 org.junit.Assert.assertTrue(i19 == 2);4016 4017 // Regression assertion (captures the current behavior of the code)4018 org.junit.Assert.assertTrue(i20 == 2);4019 }4020 @Test4021 public void test105() throws Throwable {4022 if (debug) { System.out.format("%n%s%n","RegressionTest2.test105"); }4023 container.Container container0 = new container.Container();4024 int i2 = container0.put((int)(short)1);4025 int i4 = container0.get((int)(byte)10);4026 int i6 = container0.remove((int)(short)-1);4027 int i8 = container0.remove(10);4028 int i10 = container0.get(10);4029 int i12 = container0.put(10);4030 container0.printContainer();4031 int i15 = container0.get((int)(short)10);4032 int i17 = container0.get((-1));4033 int i19 = container0.get((int)(short)1);4034 4035 // Regression assertion (captures the current behavior of the code)4036 org.junit.Assert.assertTrue(i2 == 1);4037 4038 // Regression assertion (captures the current behavior of the code)4039 org.junit.Assert.assertTrue(i4 == 0);4040 4041 // Regression assertion (captures the current behavior of the code)4042 org.junit.Assert.assertTrue(i6 == 0);4043 4044 // Regression assertion (captures the current behavior of the code)4045 org.junit.Assert.assertTrue(i8 == 0);4046 4047 // Regression assertion (captures the current behavior of the code)4048 org.junit.Assert.assertTrue(i10 == 0);4049 4050 // Regression assertion (captures the current behavior of the code)4051 org.junit.Assert.assertTrue(i12 == 1);4052 4053 // Regression assertion (captures the current behavior of the code)4054 org.junit.Assert.assertTrue(i15 == 1);4055 4056 // Regression assertion (captures the current behavior of the code)4057 org.junit.Assert.assertTrue(i17 == 0);4058 4059 // Regression assertion (captures the current behavior of the code)4060 org.junit.Assert.assertTrue(i19 == 1);4061 }4062 @Test4063 public void test106() throws Throwable {4064 if (debug) { System.out.format("%n%s%n","RegressionTest2.test106"); }4065 container.Container container0 = new container.Container();4066 int i2 = container0.put((int)(short)-1);4067 int i4 = container0.remove((int)(byte)0);4068 int i6 = container0.put((int)'a');4069 int i7 = container0.size();4070 container0.printContainer();4071 int i9 = container0.size();4072 4073 // Regression assertion (captures the current behavior of the code)4074 org.junit.Assert.assertTrue(i2 == 1);4075 4076 // Regression assertion (captures the current behavior of the code)4077 org.junit.Assert.assertTrue(i4 == 0);4078 4079 // Regression assertion (captures the current behavior of the code)4080 org.junit.Assert.assertTrue(i6 == 1);4081 4082 // Regression assertion (captures the current behavior of the code)4083 org.junit.Assert.assertTrue(i7 == 2);4084 4085 // Regression assertion (captures the current behavior of the code)4086 org.junit.Assert.assertTrue(i9 == 2);4087 }4088 @Test4089 public void test107() throws Throwable {4090 if (debug) { System.out.format("%n%s%n","RegressionTest2.test107"); }4091 container.Container container0 = new container.Container();4092 int i2 = container0.put((int)(short)1);4093 int i4 = container0.get(1);4094 container0.printContainer();4095 int i7 = container0.put(0);4096 int i9 = container0.put((int)(byte)10);4097 int i11 = container0.put((int)(byte)10);4098 int i13 = container0.put(10);4099 4100 // Regression assertion (captures the current behavior of the code)4101 org.junit.Assert.assertTrue(i2 == 1);4102 4103 // Regression assertion (captures the current behavior of the code)4104 org.junit.Assert.assertTrue(i4 == 1);4105 4106 // Regression assertion (captures the current behavior of the code)4107 org.junit.Assert.assertTrue(i7 == 1);4108 4109 // Regression assertion (captures the current behavior of the code)4110 org.junit.Assert.assertTrue(i9 == 1);4111 4112 // Regression assertion (captures the current behavior of the code)4113 org.junit.Assert.assertTrue(i11 == 0);4114 4115 // Regression assertion (captures the current behavior of the code)4116 org.junit.Assert.assertTrue(i13 == 0);4117 }4118 @Test4119 public void test108() throws Throwable {4120 if (debug) { System.out.format("%n%s%n","RegressionTest2.test108"); }4121 container.Container container0 = new container.Container();4122 int i2 = container0.put((int)(short)1);4123 int i4 = container0.get((int)(byte)10);4124 int i6 = container0.remove((int)(short)-1);4125 int i8 = container0.remove(10);4126 int i10 = container0.get(10);4127 int i12 = container0.put(10);4128 int i14 = container0.put((int)' ');4129 int i16 = container0.remove((int)(byte)-1);4130 int i18 = container0.put((int)(byte)-1);4131 int i19 = container0.size();4132 int i21 = container0.put(0);4133 int i22 = container0.size();4134 4135 // Regression assertion (captures the current behavior of the code)4136 org.junit.Assert.assertTrue(i2 == 1);4137 4138 // Regression assertion (captures the current behavior of the code)4139 org.junit.Assert.assertTrue(i4 == 0);4140 4141 // Regression assertion (captures the current behavior of the code)4142 org.junit.Assert.assertTrue(i6 == 0);4143 4144 // Regression assertion (captures the current behavior of the code)4145 org.junit.Assert.assertTrue(i8 == 0);4146 4147 // Regression assertion (captures the current behavior of the code)4148 org.junit.Assert.assertTrue(i10 == 0);4149 4150 // Regression assertion (captures the current behavior of the code)4151 org.junit.Assert.assertTrue(i12 == 1);4152 4153 // Regression assertion (captures the current behavior of the code)4154 org.junit.Assert.assertTrue(i14 == 1);4155 4156 // Regression assertion (captures the current behavior of the code)4157 org.junit.Assert.assertTrue(i16 == 0);4158 4159 // Regression assertion (captures the current behavior of the code)4160 org.junit.Assert.assertTrue(i18 == 1);4161 4162 // Regression assertion (captures the current behavior of the code)4163 org.junit.Assert.assertTrue(i19 == 4);4164 4165 // Regression assertion (captures the current behavior of the code)4166 org.junit.Assert.assertTrue(i21 == 1);4167 4168 // Regression assertion (captures the current behavior of the code)4169 org.junit.Assert.assertTrue(i22 == 5);4170 }4171 @Test4172 public void test109() throws Throwable {4173 if (debug) { System.out.format("%n%s%n","RegressionTest2.test109"); }4174 container.Container container0 = new container.Container();4175 int i2 = container0.put((int)(short)1);4176 int i4 = container0.get((int)(byte)10);4177 int i6 = container0.put((int)(short)1);4178 int i8 = container0.get((int)'#');4179 int i9 = container0.size();4180 container0.printContainer();4181 int i12 = container0.get((int)(byte)1);4182 container0.printContainer();4183 container0.printContainer();4184 int i16 = container0.remove(2);4185 4186 // Regression assertion (captures the current behavior of the code)4187 org.junit.Assert.assertTrue(i2 == 1);4188 4189 // Regression assertion (captures the current behavior of the code)4190 org.junit.Assert.assertTrue(i4 == 0);4191 4192 // Regression assertion (captures the current behavior of the code)4193 org.junit.Assert.assertTrue(i6 == 0);4194 4195 // Regression assertion (captures the current behavior of the code)4196 org.junit.Assert.assertTrue(i8 == 0);4197 4198 // Regression assertion (captures the current behavior of the code)4199 org.junit.Assert.assertTrue(i9 == 1);4200 4201 // Regression assertion (captures the current behavior of the code)4202 org.junit.Assert.assertTrue(i12 == 1);4203 4204 // Regression assertion (captures the current behavior of the code)4205 org.junit.Assert.assertTrue(i16 == 0);4206 }4207 @Test4208 public void test110() throws Throwable {4209 if (debug) { System.out.format("%n%s%n","RegressionTest2.test110"); }4210 container.Container container0 = new container.Container();4211 int i2 = container0.put((int)(short)1);4212 int i4 = container0.get((int)(byte)10);4213 int i6 = container0.remove((int)(short)-1);4214 int i8 = container0.remove(10);4215 int i10 = container0.get(10);4216 int i12 = container0.put(10);4217 int i14 = container0.put((int)' ');4218 int i16 = container0.remove((int)(byte)-1);4219 int i18 = container0.get(3);4220 int i20 = container0.get((int)(byte)100);4221 int i22 = container0.put((int)(short)-1);4222 container0.printContainer();4223 int i25 = container0.remove((int)(byte)100);4224 int i27 = container0.put(5);4225 4226 // Regression assertion (captures the current behavior of the code)4227 org.junit.Assert.assertTrue(i2 == 1);4228 4229 // Regression assertion (captures the current behavior of the code)4230 org.junit.Assert.assertTrue(i4 == 0);4231 4232 // Regression assertion (captures the current behavior of the code)4233 org.junit.Assert.assertTrue(i6 == 0);4234 4235 // Regression assertion (captures the current behavior of the code)4236 org.junit.Assert.assertTrue(i8 == 0);4237 4238 // Regression assertion (captures the current behavior of the code)4239 org.junit.Assert.assertTrue(i10 == 0);4240 4241 // Regression assertion (captures the current behavior of the code)4242 org.junit.Assert.assertTrue(i12 == 1);4243 4244 // Regression assertion (captures the current behavior of the code)4245 org.junit.Assert.assertTrue(i14 == 1);4246 4247 // Regression assertion (captures the current behavior of the code)4248 org.junit.Assert.assertTrue(i16 == 0);4249 4250 // Regression assertion (captures the current behavior of the code)4251 org.junit.Assert.assertTrue(i18 == 0);4252 4253 // Regression assertion (captures the current behavior of the code)4254 org.junit.Assert.assertTrue(i20 == 0);4255 4256 // Regression assertion (captures the current behavior of the code)4257 org.junit.Assert.assertTrue(i22 == 1);4258 4259 // Regression assertion (captures the current behavior of the code)4260 org.junit.Assert.assertTrue(i25 == 0);4261 4262 // Regression assertion (captures the current behavior of the code)4263 org.junit.Assert.assertTrue(i27 == 1);4264 }4265 @Test4266 public void test111() throws Throwable {4267 if (debug) { System.out.format("%n%s%n","RegressionTest2.test111"); }4268 container.Container container0 = new container.Container();4269 int i2 = container0.put((int)(short)1);4270 int i4 = container0.get((int)(byte)10);4271 int i6 = container0.remove((int)(short)-1);4272 int i8 = container0.remove(10);4273 int i10 = container0.get(10);4274 int i12 = container0.get((int)'a');4275 int i13 = container0.size();4276 int i15 = container0.put((int)(short)100);4277 int i17 = container0.put((int)(byte)100);4278 int i19 = container0.remove(100);4279 int i21 = container0.get((int)(short)1);4280 int i23 = container0.put(10);4281 int i25 = container0.get(5);4282 4283 // Regression assertion (captures the current behavior of the code)4284 org.junit.Assert.assertTrue(i2 == 1);4285 4286 // Regression assertion (captures the current behavior of the code)4287 org.junit.Assert.assertTrue(i4 == 0);4288 4289 // Regression assertion (captures the current behavior of the code)4290 org.junit.Assert.assertTrue(i6 == 0);4291 4292 // Regression assertion (captures the current behavior of the code)4293 org.junit.Assert.assertTrue(i8 == 0);4294 4295 // Regression assertion (captures the current behavior of the code)4296 org.junit.Assert.assertTrue(i10 == 0);4297 4298 // Regression assertion (captures the current behavior of the code)4299 org.junit.Assert.assertTrue(i12 == 0);4300 4301 // Regression assertion (captures the current behavior of the code)4302 org.junit.Assert.assertTrue(i13 == 1);4303 4304 // Regression assertion (captures the current behavior of the code)4305 org.junit.Assert.assertTrue(i15 == 1);4306 4307 // Regression assertion (captures the current behavior of the code)4308 org.junit.Assert.assertTrue(i17 == 0);4309 4310 // Regression assertion (captures the current behavior of the code)4311 org.junit.Assert.assertTrue(i19 == 1);4312 4313 // Regression assertion (captures the current behavior of the code)4314 org.junit.Assert.assertTrue(i21 == 1);4315 4316 // Regression assertion (captures the current behavior of the code)4317 org.junit.Assert.assertTrue(i23 == 1);4318 4319 // Regression assertion (captures the current behavior of the code)4320 org.junit.Assert.assertTrue(i25 == 0);4321 }4322 @Test4323 public void test112() throws Throwable {4324 if (debug) { System.out.format("%n%s%n","RegressionTest2.test112"); }4325 container.Container container0 = new container.Container();4326 int i2 = container0.put((int)(short)1);4327 int i4 = container0.get((int)(byte)10);4328 int i6 = container0.put((int)(short)1);4329 int i8 = container0.get((int)(byte)10);4330 int i10 = container0.get((-1));4331 int i12 = container0.remove((int)(byte)0);4332 int i14 = container0.get((int)(short)10);4333 int i16 = container0.get(0);4334 int i18 = container0.remove((int)(short)0);4335 int i20 = container0.get(5);4336 int i22 = container0.get((int)'#');4337 4338 // Regression assertion (captures the current behavior of the code)4339 org.junit.Assert.assertTrue(i2 == 1);4340 4341 // Regression assertion (captures the current behavior of the code)4342 org.junit.Assert.assertTrue(i4 == 0);4343 4344 // Regression assertion (captures the current behavior of the code)4345 org.junit.Assert.assertTrue(i6 == 0);4346 4347 // Regression assertion (captures the current behavior of the code)4348 org.junit.Assert.assertTrue(i8 == 0);4349 4350 // Regression assertion (captures the current behavior of the code)4351 org.junit.Assert.assertTrue(i10 == 0);4352 4353 // Regression assertion (captures the current behavior of the code)4354 org.junit.Assert.assertTrue(i12 == 0);4355 4356 // Regression assertion (captures the current behavior of the code)4357 org.junit.Assert.assertTrue(i14 == 0);4358 4359 // Regression assertion (captures the current behavior of the code)4360 org.junit.Assert.assertTrue(i16 == 0);4361 4362 // Regression assertion (captures the current behavior of the code)4363 org.junit.Assert.assertTrue(i18 == 0);4364 4365 // Regression assertion (captures the current behavior of the code)4366 org.junit.Assert.assertTrue(i20 == 0);4367 4368 // Regression assertion (captures the current behavior of the code)4369 org.junit.Assert.assertTrue(i22 == 0);4370 }4371 @Test4372 public void test113() throws Throwable {4373 if (debug) { System.out.format("%n%s%n","RegressionTest2.test113"); }4374 container.Container container0 = new container.Container();4375 int i2 = container0.put((int)(short)1);4376 int i4 = container0.get(1);4377 container0.printContainer();4378 int i6 = container0.size();4379 int i8 = container0.remove((int)(byte)1);4380 int i10 = container0.put(10);4381 int i12 = container0.put((int)(byte)-1);4382 int i14 = container0.get((int)(short)100);4383 4384 // Regression assertion (captures the current behavior of the code)4385 org.junit.Assert.assertTrue(i2 == 1);4386 4387 // Regression assertion (captures the current behavior of the code)4388 org.junit.Assert.assertTrue(i4 == 1);4389 4390 // Regression assertion (captures the current behavior of the code)4391 org.junit.Assert.assertTrue(i6 == 1);4392 4393 // Regression assertion (captures the current behavior of the code)4394 org.junit.Assert.assertTrue(i8 == 1);4395 4396 // Regression assertion (captures the current behavior of the code)4397 org.junit.Assert.assertTrue(i10 == 1);4398 4399 // Regression assertion (captures the current behavior of the code)4400 org.junit.Assert.assertTrue(i12 == 1);4401 4402 // Regression assertion (captures the current behavior of the code)4403 org.junit.Assert.assertTrue(i14 == 0);4404 }4405 @Test4406 public void test114() throws Throwable {4407 if (debug) { System.out.format("%n%s%n","RegressionTest2.test114"); }4408 container.Container container0 = new container.Container();4409 int i2 = container0.put((int)(short)1);4410 int i4 = container0.get((int)(byte)10);4411 container0.printContainer();4412 int i7 = container0.remove((int)(byte)10);4413 int i9 = container0.get((-1));4414 int i11 = container0.put((int)(byte)100);4415 int i13 = container0.get((int)(short)100);4416 int i15 = container0.remove((int)(short)0);4417 4418 // Regression assertion (captures the current behavior of the code)4419 org.junit.Assert.assertTrue(i2 == 1);4420 4421 // Regression assertion (captures the current behavior of the code)4422 org.junit.Assert.assertTrue(i4 == 0);4423 4424 // Regression assertion (captures the current behavior of the code)4425 org.junit.Assert.assertTrue(i7 == 0);4426 4427 // Regression assertion (captures the current behavior of the code)4428 org.junit.Assert.assertTrue(i9 == 0);4429 4430 // Regression assertion (captures the current behavior of the code)4431 org.junit.Assert.assertTrue(i11 == 1);4432 4433 // Regression assertion (captures the current behavior of the code)4434 org.junit.Assert.assertTrue(i13 == 1);4435 4436 // Regression assertion (captures the current behavior of the code)4437 org.junit.Assert.assertTrue(i15 == 0);4438 }4439 @Test4440 public void test115() throws Throwable {4441 if (debug) { System.out.format("%n%s%n","RegressionTest2.test115"); }4442 container.Container container0 = new container.Container();4443 int i2 = container0.put((int)(short)1);4444 int i4 = container0.get((int)(byte)10);4445 int i6 = container0.put((int)(short)1);4446 int i8 = container0.get((int)(byte)10);4447 int i10 = container0.put((int)'4');4448 int i12 = container0.remove((int)(short)0);4449 int i14 = container0.put((int)(short)1);4450 int i15 = container0.size();4451 4452 // Regression assertion (captures the current behavior of the code)4453 org.junit.Assert.assertTrue(i2 == 1);4454 4455 // Regression assertion (captures the current behavior of the code)4456 org.junit.Assert.assertTrue(i4 == 0);4457 4458 // Regression assertion (captures the current behavior of the code)4459 org.junit.Assert.assertTrue(i6 == 0);4460 4461 // Regression assertion (captures the current behavior of the code)4462 org.junit.Assert.assertTrue(i8 == 0);4463 4464 // Regression assertion (captures the current behavior of the code)4465 org.junit.Assert.assertTrue(i10 == 1);4466 4467 // Regression assertion (captures the current behavior of the code)4468 org.junit.Assert.assertTrue(i12 == 0);4469 4470 // Regression assertion (captures the current behavior of the code)4471 org.junit.Assert.assertTrue(i14 == 0);4472 4473 // Regression assertion (captures the current behavior of the code)4474 org.junit.Assert.assertTrue(i15 == 2);4475 }4476 @Test4477 public void test116() throws Throwable {4478 if (debug) { System.out.format("%n%s%n","RegressionTest2.test116"); }4479 container.Container container0 = new container.Container();4480 int i2 = container0.put((int)(short)1);4481 int i4 = container0.get((int)(byte)10);4482 int i6 = container0.remove((int)(short)-1);4483 int i8 = container0.remove(10);4484 int i10 = container0.get(10);4485 int i12 = container0.put(10);4486 container0.printContainer();4487 int i15 = container0.put(1);4488 int i17 = container0.put((int)'a');4489 container0.printContainer();4490 int i20 = container0.remove((int)'#');4491 4492 // Regression assertion (captures the current behavior of the code)4493 org.junit.Assert.assertTrue(i2 == 1);4494 4495 // Regression assertion (captures the current behavior of the code)4496 org.junit.Assert.assertTrue(i4 == 0);4497 4498 // Regression assertion (captures the current behavior of the code)4499 org.junit.Assert.assertTrue(i6 == 0);4500 4501 // Regression assertion (captures the current behavior of the code)4502 org.junit.Assert.assertTrue(i8 == 0);4503 4504 // Regression assertion (captures the current behavior of the code)4505 org.junit.Assert.assertTrue(i10 == 0);4506 4507 // Regression assertion (captures the current behavior of the code)4508 org.junit.Assert.assertTrue(i12 == 1);4509 4510 // Regression assertion (captures the current behavior of the code)4511 org.junit.Assert.assertTrue(i15 == 0);4512 4513 // Regression assertion (captures the current behavior of the code)4514 org.junit.Assert.assertTrue(i17 == 1);4515 4516 // Regression assertion (captures the current behavior of the code)4517 org.junit.Assert.assertTrue(i20 == 0);4518 }4519 @Test4520 public void test117() throws Throwable {4521 if (debug) { System.out.format("%n%s%n","RegressionTest2.test117"); }4522 container.Container container0 = new container.Container();4523 int i2 = container0.put((int)(short)1);4524 int i4 = container0.get((int)(byte)10);4525 container0.printContainer();4526 int i7 = container0.remove((int)(byte)10);4527 int i9 = container0.get((-1));4528 int i11 = container0.put((int)(byte)100);4529 int i13 = container0.get((int)(byte)0);4530 container0.printContainer();4531 int i15 = container0.size();4532 int i17 = container0.put(1);4533 int i19 = container0.get((int)' ');4534 int i20 = container0.size();4535 int i21 = container0.size();4536 4537 // Regression assertion (captures the current behavior of the code)4538 org.junit.Assert.assertTrue(i2 == 1);4539 4540 // Regression assertion (captures the current behavior of the code)4541 org.junit.Assert.assertTrue(i4 == 0);4542 4543 // Regression assertion (captures the current behavior of the code)4544 org.junit.Assert.assertTrue(i7 == 0);4545 4546 // Regression assertion (captures the current behavior of the code)4547 org.junit.Assert.assertTrue(i9 == 0);4548 4549 // Regression assertion (captures the current behavior of the code)4550 org.junit.Assert.assertTrue(i11 == 1);4551 4552 // Regression assertion (captures the current behavior of the code)4553 org.junit.Assert.assertTrue(i13 == 0);4554 4555 // Regression assertion (captures the current behavior of the code)4556 org.junit.Assert.assertTrue(i15 == 2);4557 4558 // Regression assertion (captures the current behavior of the code)4559 org.junit.Assert.assertTrue(i17 == 0);4560 4561 // Regression assertion (captures the current behavior of the code)4562 org.junit.Assert.assertTrue(i19 == 0);4563 4564 // Regression assertion (captures the current behavior of the code)4565 org.junit.Assert.assertTrue(i20 == 2);4566 4567 // Regression assertion (captures the current behavior of the code)4568 org.junit.Assert.assertTrue(i21 == 2);4569 }4570 @Test4571 public void test118() throws Throwable {4572 if (debug) { System.out.format("%n%s%n","RegressionTest2.test118"); }4573 container.Container container0 = new container.Container();4574 int i2 = container0.put((int)(short)1);4575 int i4 = container0.get(1);4576 container0.printContainer();4577 int i7 = container0.remove((int)'#');4578 int i9 = container0.remove((int)(byte)100);4579 int i11 = container0.get(0);4580 int i13 = container0.get((int)(byte)-1);4581 4582 // Regression assertion (captures the current behavior of the code)4583 org.junit.Assert.assertTrue(i2 == 1);4584 4585 // Regression assertion (captures the current behavior of the code)4586 org.junit.Assert.assertTrue(i4 == 1);4587 4588 // Regression assertion (captures the current behavior of the code)4589 org.junit.Assert.assertTrue(i7 == 0);4590 4591 // Regression assertion (captures the current behavior of the code)4592 org.junit.Assert.assertTrue(i9 == 0);4593 4594 // Regression assertion (captures the current behavior of the code)4595 org.junit.Assert.assertTrue(i11 == 0);4596 4597 // Regression assertion (captures the current behavior of the code)4598 org.junit.Assert.assertTrue(i13 == 0);4599 }4600 @Test4601 public void test119() throws Throwable {4602 if (debug) { System.out.format("%n%s%n","RegressionTest2.test119"); }4603 container.Container container0 = new container.Container();4604 int i2 = container0.put((int)(short)1);4605 int i4 = container0.get(1);4606 container0.printContainer();4607 container0.printContainer();4608 int i8 = container0.get((int)(short)-1);4609 int i10 = container0.put((int)(byte)100);4610 int i11 = container0.size();4611 int i13 = container0.put((int)(short)100);4612 container0.printContainer();4613 int i16 = container0.remove(10);4614 int i18 = container0.remove((int)(short)1);4615 4616 // Regression assertion (captures the current behavior of the code)4617 org.junit.Assert.assertTrue(i2 == 1);4618 4619 // Regression assertion (captures the current behavior of the code)4620 org.junit.Assert.assertTrue(i4 == 1);4621 4622 // Regression assertion (captures the current behavior of the code)4623 org.junit.Assert.assertTrue(i8 == 0);4624 4625 // Regression assertion (captures the current behavior of the code)4626 org.junit.Assert.assertTrue(i10 == 1);4627 4628 // Regression assertion (captures the current behavior of the code)4629 org.junit.Assert.assertTrue(i11 == 2);4630 4631 // Regression assertion (captures the current behavior of the code)4632 org.junit.Assert.assertTrue(i13 == 0);4633 4634 // Regression assertion (captures the current behavior of the code)4635 org.junit.Assert.assertTrue(i16 == 0);4636 4637 // Regression assertion (captures the current behavior of the code)4638 org.junit.Assert.assertTrue(i18 == 1);4639 }4640 @Test4641 public void test120() throws Throwable {4642 if (debug) { System.out.format("%n%s%n","RegressionTest2.test120"); }4643 container.Container container0 = new container.Container();4644 int i2 = container0.put((int)(short)1);4645 int i4 = container0.get((int)(byte)10);4646 int i6 = container0.remove((int)(short)-1);4647 int i8 = container0.put(100);4648 int i10 = container0.get((int)'4');4649 int i12 = container0.put((int)(short)-1);4650 int i13 = container0.size();4651 int i14 = container0.size();4652 4653 // Regression assertion (captures the current behavior of the code)4654 org.junit.Assert.assertTrue(i2 == 1);4655 4656 // Regression assertion (captures the current behavior of the code)4657 org.junit.Assert.assertTrue(i4 == 0);4658 4659 // Regression assertion (captures the current behavior of the code)4660 org.junit.Assert.assertTrue(i6 == 0);4661 4662 // Regression assertion (captures the current behavior of the code)4663 org.junit.Assert.assertTrue(i8 == 1);4664 4665 // Regression assertion (captures the current behavior of the code)4666 org.junit.Assert.assertTrue(i10 == 0);4667 4668 // Regression assertion (captures the current behavior of the code)4669 org.junit.Assert.assertTrue(i12 == 1);4670 4671 // Regression assertion (captures the current behavior of the code)4672 org.junit.Assert.assertTrue(i13 == 3);4673 4674 // Regression assertion (captures the current behavior of the code)4675 org.junit.Assert.assertTrue(i14 == 3);4676 }4677 @Test4678 public void test121() throws Throwable {4679 if (debug) { System.out.format("%n%s%n","RegressionTest2.test121"); }4680 container.Container container0 = new container.Container();4681 int i2 = container0.put((int)(short)1);4682 int i4 = container0.put((int)(short)0);4683 int i6 = container0.put((int)'a');4684 container0.printContainer();4685 int i9 = container0.get((int)(byte)10);4686 int i10 = container0.size();4687 int i12 = container0.remove((int)(byte)1);4688 int i14 = container0.get((int)(short)10);4689 container0.printContainer();4690 4691 // Regression assertion (captures the current behavior of the code)4692 org.junit.Assert.assertTrue(i2 == 1);4693 4694 // Regression assertion (captures the current behavior of the code)4695 org.junit.Assert.assertTrue(i4 == 1);4696 4697 // Regression assertion (captures the current behavior of the code)4698 org.junit.Assert.assertTrue(i6 == 1);4699 4700 // Regression assertion (captures the current behavior of the code)4701 org.junit.Assert.assertTrue(i9 == 0);4702 4703 // Regression assertion (captures the current behavior of the code)4704 org.junit.Assert.assertTrue(i10 == 3);4705 4706 // Regression assertion (captures the current behavior of the code)4707 org.junit.Assert.assertTrue(i12 == 1);4708 4709 // Regression assertion (captures the current behavior of the code)4710 org.junit.Assert.assertTrue(i14 == 0);4711 }4712 @Test4713 public void test122() throws Throwable {4714 if (debug) { System.out.format("%n%s%n","RegressionTest2.test122"); }4715 container.Container container0 = new container.Container();4716 int i2 = container0.put((int)(short)1);4717 int i4 = container0.get(1);4718 container0.printContainer();4719 container0.printContainer();4720 int i8 = container0.get((int)(short)-1);4721 int i10 = container0.get(100);4722 int i12 = container0.put(10);4723 int i14 = container0.put(0);4724 container0.printContainer();4725 int i17 = container0.remove((int)(byte)100);4726 4727 // Regression assertion (captures the current behavior of the code)4728 org.junit.Assert.assertTrue(i2 == 1);4729 4730 // Regression assertion (captures the current behavior of the code)4731 org.junit.Assert.assertTrue(i4 == 1);4732 4733 // Regression assertion (captures the current behavior of the code)4734 org.junit.Assert.assertTrue(i8 == 0);4735 4736 // Regression assertion (captures the current behavior of the code)4737 org.junit.Assert.assertTrue(i10 == 0);4738 4739 // Regression assertion (captures the current behavior of the code)4740 org.junit.Assert.assertTrue(i12 == 1);4741 4742 // Regression assertion (captures the current behavior of the code)4743 org.junit.Assert.assertTrue(i14 == 1);4744 4745 // Regression assertion (captures the current behavior of the code)4746 org.junit.Assert.assertTrue(i17 == 0);4747 }4748 @Test4749 public void test123() throws Throwable {4750 if (debug) { System.out.format("%n%s%n","RegressionTest2.test123"); }4751 container.Container container0 = new container.Container();4752 int i2 = container0.put((int)(short)1);4753 int i4 = container0.get(1);4754 container0.printContainer();4755 int i7 = container0.remove((int)'#');4756 int i9 = container0.put((int)' ');4757 int i11 = container0.get((int)'#');4758 container0.printContainer();4759 int i14 = container0.get((int)(byte)0);4760 int i16 = container0.get(1);4761 int i18 = container0.get(3);4762 int i20 = container0.remove(0);4763 4764 // Regression assertion (captures the current behavior of the code)4765 org.junit.Assert.assertTrue(i2 == 1);4766 4767 // Regression assertion (captures the current behavior of the code)4768 org.junit.Assert.assertTrue(i4 == 1);4769 4770 // Regression assertion (captures the current behavior of the code)4771 org.junit.Assert.assertTrue(i7 == 0);4772 4773 // Regression assertion (captures the current behavior of the code)4774 org.junit.Assert.assertTrue(i9 == 1);4775 4776 // Regression assertion (captures the current behavior of the code)4777 org.junit.Assert.assertTrue(i11 == 0);4778 4779 // Regression assertion (captures the current behavior of the code)4780 org.junit.Assert.assertTrue(i14 == 0);4781 4782 // Regression assertion (captures the current behavior of the code)4783 org.junit.Assert.assertTrue(i16 == 1);4784 4785 // Regression assertion (captures the current behavior of the code)4786 org.junit.Assert.assertTrue(i18 == 0);4787 4788 // Regression assertion (captures the current behavior of the code)4789 org.junit.Assert.assertTrue(i20 == 0);4790 }4791 @Test4792 public void test124() throws Throwable {4793 if (debug) { System.out.format("%n%s%n","RegressionTest2.test124"); }4794 container.Container container0 = new container.Container();4795 int i2 = container0.put((int)(short)1);4796 int i4 = container0.get(1);4797 container0.printContainer();4798 int i6 = container0.size();4799 int i8 = container0.remove(100);4800 container0.printContainer();4801 4802 // Regression assertion (captures the current behavior of the code)4803 org.junit.Assert.assertTrue(i2 == 1);4804 4805 // Regression assertion (captures the current behavior of the code)4806 org.junit.Assert.assertTrue(i4 == 1);4807 4808 // Regression assertion (captures the current behavior of the code)4809 org.junit.Assert.assertTrue(i6 == 1);4810 4811 // Regression assertion (captures the current behavior of the code)4812 org.junit.Assert.assertTrue(i8 == 0);4813 }4814 @Test4815 public void test125() throws Throwable {4816 if (debug) { System.out.format("%n%s%n","RegressionTest2.test125"); }4817 container.Container container0 = new container.Container();4818 int i2 = container0.put((int)(short)1);4819 int i4 = container0.get((int)(byte)10);4820 container0.printContainer();4821 int i7 = container0.remove((int)(byte)10);4822 int i9 = container0.get((-1));4823 int i11 = container0.remove((int)(byte)0);4824 int i13 = container0.put((int)'4');4825 4826 // Regression assertion (captures the current behavior of the code)4827 org.junit.Assert.assertTrue(i2 == 1);4828 4829 // Regression assertion (captures the current behavior of the code)4830 org.junit.Assert.assertTrue(i4 == 0);4831 4832 // Regression assertion (captures the current behavior of the code)4833 org.junit.Assert.assertTrue(i7 == 0);4834 4835 // Regression assertion (captures the current behavior of the code)4836 org.junit.Assert.assertTrue(i9 == 0);4837 4838 // Regression assertion (captures the current behavior of the code)4839 org.junit.Assert.assertTrue(i11 == 0);4840 4841 // Regression assertion (captures the current behavior of the code)4842 org.junit.Assert.assertTrue(i13 == 1);4843 }4844 @Test4845 public void test126() throws Throwable {4846 if (debug) { System.out.format("%n%s%n","RegressionTest2.test126"); }4847 container.Container container0 = new container.Container();4848 int i2 = container0.put((int)(short)1);4849 int i4 = container0.get((int)(byte)10);4850 int i6 = container0.put((int)(short)1);4851 int i8 = container0.get((int)(byte)10);4852 int i10 = container0.put((int)'4');4853 int i12 = container0.remove((int)(short)0);4854 container0.printContainer();4855 int i15 = container0.remove(10);4856 container0.printContainer();4857 int i18 = container0.remove(0);4858 4859 // Regression assertion (captures the current behavior of the code)4860 org.junit.Assert.assertTrue(i2 == 1);4861 4862 // Regression assertion (captures the current behavior of the code)4863 org.junit.Assert.assertTrue(i4 == 0);4864 4865 // Regression assertion (captures the current behavior of the code)4866 org.junit.Assert.assertTrue(i6 == 0);4867 4868 // Regression assertion (captures the current behavior of the code)4869 org.junit.Assert.assertTrue(i8 == 0);4870 4871 // Regression assertion (captures the current behavior of the code)4872 org.junit.Assert.assertTrue(i10 == 1);4873 4874 // Regression assertion (captures the current behavior of the code)4875 org.junit.Assert.assertTrue(i12 == 0);4876 4877 // Regression assertion (captures the current behavior of the code)4878 org.junit.Assert.assertTrue(i15 == 0);4879 4880 // Regression assertion (captures the current behavior of the code)4881 org.junit.Assert.assertTrue(i18 == 0);4882 }4883 @Test4884 public void test127() throws Throwable {4885 if (debug) { System.out.format("%n%s%n","RegressionTest2.test127"); }4886 container.Container container0 = new container.Container();4887 int i2 = container0.put((int)(byte)-1);4888 int i4 = container0.put((int)(byte)100);4889 int i6 = container0.put(100);4890 int i8 = container0.put((-1));4891 int i10 = container0.get((int)'#');4892 int i12 = container0.put((int)(short)100);4893 int i14 = container0.remove((int)(short)100);4894 int i16 = container0.get((int)(short)100);4895 container0.printContainer();4896 4897 // Regression assertion (captures the current behavior of the code)4898 org.junit.Assert.assertTrue(i2 == 1);4899 4900 // Regression assertion (captures the current behavior of the code)4901 org.junit.Assert.assertTrue(i4 == 1);4902 4903 // Regression assertion (captures the current behavior of the code)4904 org.junit.Assert.assertTrue(i6 == 0);4905 4906 // Regression assertion (captures the current behavior of the code)4907 org.junit.Assert.assertTrue(i8 == 0);4908 4909 // Regression assertion (captures the current behavior of the code)4910 org.junit.Assert.assertTrue(i10 == 0);4911 4912 // Regression assertion (captures the current behavior of the code)4913 org.junit.Assert.assertTrue(i12 == 0);4914 4915 // Regression assertion (captures the current behavior of the code)4916 org.junit.Assert.assertTrue(i14 == 1);4917 4918 // Regression assertion (captures the current behavior of the code)4919 org.junit.Assert.assertTrue(i16 == 0);4920 }4921 @Test4922 public void test128() throws Throwable {4923 if (debug) { System.out.format("%n%s%n","RegressionTest2.test128"); }4924 container.Container container0 = new container.Container();4925 int i2 = container0.put((int)(short)1);4926 int i4 = container0.get(1);4927 int i5 = container0.size();4928 int i7 = container0.remove((int)(byte)0);4929 int i9 = container0.remove((int)(byte)0);4930 int i11 = container0.get(2);4931 int i13 = container0.remove((int)'#');4932 4933 // Regression assertion (captures the current behavior of the code)4934 org.junit.Assert.assertTrue(i2 == 1);4935 4936 // Regression assertion (captures the current behavior of the code)4937 org.junit.Assert.assertTrue(i4 == 1);4938 4939 // Regression assertion (captures the current behavior of the code)4940 org.junit.Assert.assertTrue(i5 == 1);4941 4942 // Regression assertion (captures the current behavior of the code)4943 org.junit.Assert.assertTrue(i7 == 0);4944 4945 // Regression assertion (captures the current behavior of the code)4946 org.junit.Assert.assertTrue(i9 == 0);4947 4948 // Regression assertion (captures the current behavior of the code)4949 org.junit.Assert.assertTrue(i11 == 0);4950 4951 // Regression assertion (captures the current behavior of the code)4952 org.junit.Assert.assertTrue(i13 == 0);4953 }4954 @Test4955 public void test129() throws Throwable {4956 if (debug) { System.out.format("%n%s%n","RegressionTest2.test129"); }4957 container.Container container0 = new container.Container();4958 int i2 = container0.put((int)(short)1);4959 int i4 = container0.get((int)(byte)10);4960 int i6 = container0.remove((int)(short)-1);4961 int i8 = container0.remove(10);4962 int i10 = container0.get(10);4963 int i12 = container0.put(10);4964 int i14 = container0.put((int)' ');4965 int i16 = container0.remove((int)(byte)-1);4966 int i18 = container0.get(3);4967 int i20 = container0.get((int)(byte)100);4968 int i22 = container0.put((int)(short)-1);4969 int i24 = container0.put((int)(byte)0);4970 container0.printContainer();4971 int i27 = container0.get((int)(byte)-1);4972 4973 // Regression assertion (captures the current behavior of the code)4974 org.junit.Assert.assertTrue(i2 == 1);4975 4976 // Regression assertion (captures the current behavior of the code)4977 org.junit.Assert.assertTrue(i4 == 0);4978 4979 // Regression assertion (captures the current behavior of the code)4980 org.junit.Assert.assertTrue(i6 == 0);4981 4982 // Regression assertion (captures the current behavior of the code)4983 org.junit.Assert.assertTrue(i8 == 0);4984 4985 // Regression assertion (captures the current behavior of the code)4986 org.junit.Assert.assertTrue(i10 == 0);4987 4988 // Regression assertion (captures the current behavior of the code)4989 org.junit.Assert.assertTrue(i12 == 1);4990 4991 // Regression assertion (captures the current behavior of the code)4992 org.junit.Assert.assertTrue(i14 == 1);4993 4994 // Regression assertion (captures the current behavior of the code)4995 org.junit.Assert.assertTrue(i16 == 0);4996 4997 // Regression assertion (captures the current behavior of the code)4998 org.junit.Assert.assertTrue(i18 == 0);4999 5000 // Regression assertion (captures the current behavior of the code)5001 org.junit.Assert.assertTrue(i20 == 0);5002 5003 // Regression assertion (captures the current behavior of the code)5004 org.junit.Assert.assertTrue(i22 == 1);5005 5006 // Regression assertion (captures the current behavior of the code)5007 org.junit.Assert.assertTrue(i24 == 1);5008 5009 // Regression assertion (captures the current behavior of the code)5010 org.junit.Assert.assertTrue(i27 == 1);5011 }5012 @Test5013 public void test130() throws Throwable {5014 if (debug) { System.out.format("%n%s%n","RegressionTest2.test130"); }5015 container.Container container0 = new container.Container();5016 int i2 = container0.put((int)(short)1);5017 int i4 = container0.put((int)(short)0);5018 container0.printContainer();5019 int i7 = container0.put((int)(byte)10);5020 int i8 = container0.size();5021 int i10 = container0.get(0);5022 int i12 = container0.remove((int)(short)0);5023 int i14 = container0.get((int)(byte)100);5024 int i16 = container0.remove(10);5025 5026 // Regression assertion (captures the current behavior of the code)5027 org.junit.Assert.assertTrue(i2 == 1);5028 5029 // Regression assertion (captures the current behavior of the code)5030 org.junit.Assert.assertTrue(i4 == 1);5031 5032 // Regression assertion (captures the current behavior of the code)5033 org.junit.Assert.assertTrue(i7 == 1);5034 5035 // Regression assertion (captures the current behavior of the code)5036 org.junit.Assert.assertTrue(i8 == 3);5037 5038 // Regression assertion (captures the current behavior of the code)5039 org.junit.Assert.assertTrue(i10 == 1);5040 5041 // Regression assertion (captures the current behavior of the code)5042 org.junit.Assert.assertTrue(i12 == 1);5043 5044 // Regression assertion (captures the current behavior of the code)5045 org.junit.Assert.assertTrue(i14 == 0);5046 5047 // Regression assertion (captures the current behavior of the code)5048 org.junit.Assert.assertTrue(i16 == 1);5049 }5050 @Test5051 public void test131() throws Throwable {5052 if (debug) { System.out.format("%n%s%n","RegressionTest2.test131"); }5053 container.Container container0 = new container.Container();5054 int i2 = container0.put((int)(short)1);5055 int i4 = container0.put((int)(short)0);5056 container0.printContainer();5057 int i7 = container0.remove(0);5058 int i9 = container0.remove((int)'4');5059 int i11 = container0.get((int)' ');5060 int i12 = container0.size();5061 int i13 = container0.size();5062 int i15 = container0.put(5);5063 5064 // Regression assertion (captures the current behavior of the code)5065 org.junit.Assert.assertTrue(i2 == 1);5066 5067 // Regression assertion (captures the current behavior of the code)5068 org.junit.Assert.assertTrue(i4 == 1);5069 5070 // Regression assertion (captures the current behavior of the code)5071 org.junit.Assert.assertTrue(i7 == 1);5072 5073 // Regression assertion (captures the current behavior of the code)5074 org.junit.Assert.assertTrue(i9 == 0);5075 5076 // Regression assertion (captures the current behavior of the code)5077 org.junit.Assert.assertTrue(i11 == 0);5078 5079 // Regression assertion (captures the current behavior of the code)5080 org.junit.Assert.assertTrue(i12 == 1);5081 5082 // Regression assertion (captures the current behavior of the code)5083 org.junit.Assert.assertTrue(i13 == 1);5084 5085 // Regression assertion (captures the current behavior of the code)5086 org.junit.Assert.assertTrue(i15 == 1);5087 }5088 @Test5089 public void test132() throws Throwable {5090 if (debug) { System.out.format("%n%s%n","RegressionTest2.test132"); }5091 container.Container container0 = new container.Container();5092 int i2 = container0.put((int)(short)1);5093 int i4 = container0.get(1);5094 container0.printContainer();5095 container0.printContainer();5096 int i8 = container0.get((int)(byte)10);5097 int i10 = container0.get((int)(byte)100);5098 container0.printContainer();5099 container0.printContainer();5100 int i14 = container0.remove((int)' ');5101 container0.printContainer();5102 int i16 = container0.size();5103 int i18 = container0.put((int)' ');5104 int i19 = container0.size();5105 container0.printContainer();5106 int i22 = container0.put((int)(byte)-1);5107 5108 // Regression assertion (captures the current behavior of the code)5109 org.junit.Assert.assertTrue(i2 == 1);5110 5111 // Regression assertion (captures the current behavior of the code)5112 org.junit.Assert.assertTrue(i4 == 1);5113 5114 // Regression assertion (captures the current behavior of the code)5115 org.junit.Assert.assertTrue(i8 == 0);5116 5117 // Regression assertion (captures the current behavior of the code)5118 org.junit.Assert.assertTrue(i10 == 0);5119 5120 // Regression assertion (captures the current behavior of the code)5121 org.junit.Assert.assertTrue(i14 == 0);5122 5123 // Regression assertion (captures the current behavior of the code)5124 org.junit.Assert.assertTrue(i16 == 1);5125 5126 // Regression assertion (captures the current behavior of the code)5127 org.junit.Assert.assertTrue(i18 == 1);5128 5129 // Regression assertion (captures the current behavior of the code)5130 org.junit.Assert.assertTrue(i19 == 2);5131 5132 // Regression assertion (captures the current behavior of the code)5133 org.junit.Assert.assertTrue(i22 == 1);5134 }5135 @Test5136 public void test133() throws Throwable {5137 if (debug) { System.out.format("%n%s%n","RegressionTest2.test133"); }5138 container.Container container0 = new container.Container();5139 int i2 = container0.put((int)(short)1);5140 int i4 = container0.put((int)(short)0);5141 container0.printContainer();5142 int i7 = container0.put((int)(byte)10);5143 int i8 = container0.size();5144 int i10 = container0.get(0);5145 int i12 = container0.put(1);5146 int i14 = container0.get((int)(byte)-1);5147 5148 // Regression assertion (captures the current behavior of the code)5149 org.junit.Assert.assertTrue(i2 == 1);5150 5151 // Regression assertion (captures the current behavior of the code)5152 org.junit.Assert.assertTrue(i4 == 1);5153 5154 // Regression assertion (captures the current behavior of the code)5155 org.junit.Assert.assertTrue(i7 == 1);5156 5157 // Regression assertion (captures the current behavior of the code)5158 org.junit.Assert.assertTrue(i8 == 3);5159 5160 // Regression assertion (captures the current behavior of the code)5161 org.junit.Assert.assertTrue(i10 == 1);5162 5163 // Regression assertion (captures the current behavior of the code)5164 org.junit.Assert.assertTrue(i12 == 0);5165 5166 // Regression assertion (captures the current behavior of the code)5167 org.junit.Assert.assertTrue(i14 == 0);5168 }5169 @Test5170 public void test134() throws Throwable {5171 if (debug) { System.out.format("%n%s%n","RegressionTest2.test134"); }5172 container.Container container0 = new container.Container();5173 int i2 = container0.put((int)(short)1);5174 int i4 = container0.get(1);5175 container0.printContainer();5176 int i7 = container0.remove((int)'#');5177 int i9 = container0.get((int)(byte)0);5178 int i11 = container0.put(0);5179 int i12 = container0.size();5180 int i14 = container0.put((int)'#');5181 int i16 = container0.get(100);5182 int i18 = container0.get(1);5183 int i19 = container0.size();5184 5185 // Regression assertion (captures the current behavior of the code)5186 org.junit.Assert.assertTrue(i2 == 1);5187 5188 // Regression assertion (captures the current behavior of the code)5189 org.junit.Assert.assertTrue(i4 == 1);5190 5191 // Regression assertion (captures the current behavior of the code)5192 org.junit.Assert.assertTrue(i7 == 0);5193 5194 // Regression assertion (captures the current behavior of the code)5195 org.junit.Assert.assertTrue(i9 == 0);5196 5197 // Regression assertion (captures the current behavior of the code)5198 org.junit.Assert.assertTrue(i11 == 1);5199 5200 // Regression assertion (captures the current behavior of the code)5201 org.junit.Assert.assertTrue(i12 == 2);5202 5203 // Regression assertion (captures the current behavior of the code)5204 org.junit.Assert.assertTrue(i14 == 1);5205 5206 // Regression assertion (captures the current behavior of the code)5207 org.junit.Assert.assertTrue(i16 == 0);5208 5209 // Regression assertion (captures the current behavior of the code)5210 org.junit.Assert.assertTrue(i18 == 1);5211 5212 // Regression assertion (captures the current behavior of the code)5213 org.junit.Assert.assertTrue(i19 == 3);5214 }5215 @Test5216 public void test135() throws Throwable {5217 if (debug) { System.out.format("%n%s%n","RegressionTest2.test135"); }5218 container.Container container0 = new container.Container();5219 int i2 = container0.put((int)(short)1);5220 int i4 = container0.put((int)(short)0);5221 int i6 = container0.put((int)'a');5222 container0.printContainer();5223 int i9 = container0.get((int)(byte)10);5224 int i10 = container0.size();5225 int i12 = container0.get((int)'a');5226 int i13 = container0.size();5227 int i15 = container0.get((int)(short)100);5228 5229 // Regression assertion (captures the current behavior of the code)5230 org.junit.Assert.assertTrue(i2 == 1);5231 5232 // Regression assertion (captures the current behavior of the code)5233 org.junit.Assert.assertTrue(i4 == 1);5234 5235 // Regression assertion (captures the current behavior of the code)5236 org.junit.Assert.assertTrue(i6 == 1);5237 5238 // Regression assertion (captures the current behavior of the code)5239 org.junit.Assert.assertTrue(i9 == 0);5240 5241 // Regression assertion (captures the current behavior of the code)5242 org.junit.Assert.assertTrue(i10 == 3);5243 5244 // Regression assertion (captures the current behavior of the code)5245 org.junit.Assert.assertTrue(i12 == 1);5246 5247 // Regression assertion (captures the current behavior of the code)5248 org.junit.Assert.assertTrue(i13 == 3);5249 5250 // Regression assertion (captures the current behavior of the code)5251 org.junit.Assert.assertTrue(i15 == 0);5252 }5253 @Test5254 public void test136() throws Throwable {5255 if (debug) { System.out.format("%n%s%n","RegressionTest2.test136"); }5256 container.Container container0 = new container.Container();5257 int i2 = container0.put((int)(byte)-1);5258 int i4 = container0.put((int)(byte)100);5259 int i6 = container0.put(100);5260 int i7 = container0.size();5261 container0.printContainer();5262 container0.printContainer();5263 5264 // Regression assertion (captures the current behavior of the code)5265 org.junit.Assert.assertTrue(i2 == 1);5266 5267 // Regression assertion (captures the current behavior of the code)5268 org.junit.Assert.assertTrue(i4 == 1);5269 5270 // Regression assertion (captures the current behavior of the code)5271 org.junit.Assert.assertTrue(i6 == 0);5272 5273 // Regression assertion (captures the current behavior of the code)5274 org.junit.Assert.assertTrue(i7 == 2);5275 }5276 @Test5277 public void test137() throws Throwable {5278 if (debug) { System.out.format("%n%s%n","RegressionTest2.test137"); }5279 container.Container container0 = new container.Container();5280 int i2 = container0.put((int)(short)1);5281 int i4 = container0.get(1);5282 container0.printContainer();5283 int i6 = container0.size();5284 int i8 = container0.remove((int)(byte)1);5285 int i10 = container0.put(10);5286 int i12 = container0.remove((int)(short)0);5287 int i13 = container0.size();5288 5289 // Regression assertion (captures the current behavior of the code)5290 org.junit.Assert.assertTrue(i2 == 1);5291 5292 // Regression assertion (captures the current behavior of the code)5293 org.junit.Assert.assertTrue(i4 == 1);5294 5295 // Regression assertion (captures the current behavior of the code)5296 org.junit.Assert.assertTrue(i6 == 1);5297 5298 // Regression assertion (captures the current behavior of the code)5299 org.junit.Assert.assertTrue(i8 == 1);5300 5301 // Regression assertion (captures the current behavior of the code)5302 org.junit.Assert.assertTrue(i10 == 1);5303 5304 // Regression assertion (captures the current behavior of the code)5305 org.junit.Assert.assertTrue(i12 == 0);5306 5307 // Regression assertion (captures the current behavior of the code)5308 org.junit.Assert.assertTrue(i13 == 1);5309 }5310 @Test5311 public void test138() throws Throwable {5312 if (debug) { System.out.format("%n%s%n","RegressionTest2.test138"); }5313 container.Container container0 = new container.Container();5314 int i2 = container0.put((int)(short)1);5315 int i4 = container0.put((int)(short)0);5316 container0.printContainer();5317 int i7 = container0.put((int)(byte)10);5318 int i9 = container0.put((int)(byte)-1);5319 int i10 = container0.size();5320 int i12 = container0.get((int)(short)0);5321 int i14 = container0.remove((int)(byte)1);5322 5323 // Regression assertion (captures the current behavior of the code)5324 org.junit.Assert.assertTrue(i2 == 1);5325 5326 // Regression assertion (captures the current behavior of the code)5327 org.junit.Assert.assertTrue(i4 == 1);5328 5329 // Regression assertion (captures the current behavior of the code)5330 org.junit.Assert.assertTrue(i7 == 1);5331 5332 // Regression assertion (captures the current behavior of the code)5333 org.junit.Assert.assertTrue(i9 == 1);5334 5335 // Regression assertion (captures the current behavior of the code)5336 org.junit.Assert.assertTrue(i10 == 4);5337 5338 // Regression assertion (captures the current behavior of the code)5339 org.junit.Assert.assertTrue(i12 == 1);5340 5341 // Regression assertion (captures the current behavior of the code)5342 org.junit.Assert.assertTrue(i14 == 1);5343 }5344 @Test5345 public void test139() throws Throwable {5346 if (debug) { System.out.format("%n%s%n","RegressionTest2.test139"); }5347 container.Container container0 = new container.Container();5348 int i2 = container0.put((int)(short)1);5349 int i4 = container0.get(1);5350 container0.printContainer();5351 int i6 = container0.size();5352 int i8 = container0.remove((int)(byte)1);5353 int i10 = container0.put((int)'#');5354 container0.printContainer();5355 container0.printContainer();5356 int i14 = container0.remove(1);5357 int i16 = container0.remove((int)'a');5358 int i18 = container0.remove((int)(short)10);5359 int i20 = container0.put(10);5360 int i22 = container0.put(1);5361 int i24 = container0.remove((int)(byte)1);5362 int i26 = container0.get(5);5363 int i27 = container0.size();5364 5365 // Regression assertion (captures the current behavior of the code)5366 org.junit.Assert.assertTrue(i2 == 1);5367 5368 // Regression assertion (captures the current behavior of the code)5369 org.junit.Assert.assertTrue(i4 == 1);5370 5371 // Regression assertion (captures the current behavior of the code)5372 org.junit.Assert.assertTrue(i6 == 1);5373 5374 // Regression assertion (captures the current behavior of the code)5375 org.junit.Assert.assertTrue(i8 == 1);5376 5377 // Regression assertion (captures the current behavior of the code)5378 org.junit.Assert.assertTrue(i10 == 1);5379 5380 // Regression assertion (captures the current behavior of the code)5381 org.junit.Assert.assertTrue(i14 == 0);5382 5383 // Regression assertion (captures the current behavior of the code)5384 org.junit.Assert.assertTrue(i16 == 0);5385 5386 // Regression assertion (captures the current behavior of the code)5387 org.junit.Assert.assertTrue(i18 == 0);5388 5389 // Regression assertion (captures the current behavior of the code)5390 org.junit.Assert.assertTrue(i20 == 1);5391 5392 // Regression assertion (captures the current behavior of the code)5393 org.junit.Assert.assertTrue(i22 == 1);5394 5395 // Regression assertion (captures the current behavior of the code)5396 org.junit.Assert.assertTrue(i24 == 1);5397 5398 // Regression assertion (captures the current behavior of the code)5399 org.junit.Assert.assertTrue(i26 == 0);5400 5401 // Regression assertion (captures the current behavior of the code)5402 org.junit.Assert.assertTrue(i27 == 2);5403 }5404 @Test5405 public void test140() throws Throwable {5406 if (debug) { System.out.format("%n%s%n","RegressionTest2.test140"); }5407 container.Container container0 = new container.Container();5408 int i2 = container0.put((int)(short)1);5409 int i4 = container0.get(1);5410 container0.printContainer();5411 container0.printContainer();5412 int i8 = container0.get((int)(short)-1);5413 int i10 = container0.remove((int)(byte)-1);5414 int i12 = container0.put((int)' ');5415 container0.printContainer();5416 int i15 = container0.put((int)'a');5417 5418 // Regression assertion (captures the current behavior of the code)5419 org.junit.Assert.assertTrue(i2 == 1);5420 5421 // Regression assertion (captures the current behavior of the code)5422 org.junit.Assert.assertTrue(i4 == 1);5423 5424 // Regression assertion (captures the current behavior of the code)5425 org.junit.Assert.assertTrue(i8 == 0);5426 5427 // Regression assertion (captures the current behavior of the code)5428 org.junit.Assert.assertTrue(i10 == 0);5429 5430 // Regression assertion (captures the current behavior of the code)5431 org.junit.Assert.assertTrue(i12 == 1);5432 5433 // Regression assertion (captures the current behavior of the code)5434 org.junit.Assert.assertTrue(i15 == 1);5435 }5436 @Test5437 public void test141() throws Throwable {5438 if (debug) { System.out.format("%n%s%n","RegressionTest2.test141"); }5439 container.Container container0 = new container.Container();5440 int i2 = container0.put((int)(short)1);5441 int i4 = container0.get((int)(byte)10);5442 int i6 = container0.put((int)(short)1);5443 int i8 = container0.get((int)(byte)10);5444 int i10 = container0.get((-1));5445 int i12 = container0.remove((int)(byte)0);5446 int i13 = container0.size();5447 int i15 = container0.put((int)(short)0);5448 container0.printContainer();5449 int i18 = container0.put((int)(short)-1);5450 int i20 = container0.get(5);5451 5452 // Regression assertion (captures the current behavior of the code)5453 org.junit.Assert.assertTrue(i2 == 1);5454 5455 // Regression assertion (captures the current behavior of the code)5456 org.junit.Assert.assertTrue(i4 == 0);5457 5458 // Regression assertion (captures the current behavior of the code)5459 org.junit.Assert.assertTrue(i6 == 0);5460 5461 // Regression assertion (captures the current behavior of the code)5462 org.junit.Assert.assertTrue(i8 == 0);5463 5464 // Regression assertion (captures the current behavior of the code)5465 org.junit.Assert.assertTrue(i10 == 0);5466 5467 // Regression assertion (captures the current behavior of the code)5468 org.junit.Assert.assertTrue(i12 == 0);5469 5470 // Regression assertion (captures the current behavior of the code)5471 org.junit.Assert.assertTrue(i13 == 1);5472 5473 // Regression assertion (captures the current behavior of the code)5474 org.junit.Assert.assertTrue(i15 == 1);5475 5476 // Regression assertion (captures the current behavior of the code)5477 org.junit.Assert.assertTrue(i18 == 1);5478 5479 // Regression assertion (captures the current behavior of the code)5480 org.junit.Assert.assertTrue(i20 == 0);5481 }5482 @Test5483 public void test142() throws Throwable {5484 if (debug) { System.out.format("%n%s%n","RegressionTest2.test142"); }5485 container.Container container0 = new container.Container();5486 container0.printContainer();5487 int i3 = container0.remove((int)(short)100);5488 int i5 = container0.get((int)(byte)100);5489 int i7 = container0.get(0);5490 int i8 = container0.size();5491 5492 // Regression assertion (captures the current behavior of the code)5493 org.junit.Assert.assertTrue(i3 == 0);5494 5495 // Regression assertion (captures the current behavior of the code)5496 org.junit.Assert.assertTrue(i5 == 0);5497 5498 // Regression assertion (captures the current behavior of the code)5499 org.junit.Assert.assertTrue(i7 == 0);5500 5501 // Regression assertion (captures the current behavior of the code)5502 org.junit.Assert.assertTrue(i8 == 0);5503 }5504 @Test5505 public void test143() throws Throwable {5506 if (debug) { System.out.format("%n%s%n","RegressionTest2.test143"); }5507 container.Container container0 = new container.Container();5508 int i2 = container0.put((int)(short)1);5509 int i4 = container0.put((int)(short)0);5510 int i6 = container0.put((int)'a');5511 container0.printContainer();5512 int i9 = container0.get((int)(short)1);5513 int i11 = container0.remove((int)(short)10);5514 container0.printContainer();5515 container0.printContainer();5516 5517 // Regression assertion (captures the current behavior of the code)5518 org.junit.Assert.assertTrue(i2 == 1);5519 5520 // Regression assertion (captures the current behavior of the code)5521 org.junit.Assert.assertTrue(i4 == 1);5522 5523 // Regression assertion (captures the current behavior of the code)5524 org.junit.Assert.assertTrue(i6 == 1);5525 5526 // Regression assertion (captures the current behavior of the code)5527 org.junit.Assert.assertTrue(i9 == 1);5528 5529 // Regression assertion (captures the current behavior of the code)5530 org.junit.Assert.assertTrue(i11 == 0);5531 }5532 @Test5533 public void test144() throws Throwable {5534 if (debug) { System.out.format("%n%s%n","RegressionTest2.test144"); }5535 container.Container container0 = new container.Container();5536 int i2 = container0.put((int)(short)1);5537 int i4 = container0.get(1);5538 container0.printContainer();5539 container0.printContainer();5540 int i8 = container0.get((int)(byte)10);5541 container0.printContainer();5542 int i11 = container0.get((int)'#');5543 int i13 = container0.remove((-1));5544 int i15 = container0.get((int)(short)0);5545 int i17 = container0.get((int)(byte)-1);5546 5547 // Regression assertion (captures the current behavior of the code)5548 org.junit.Assert.assertTrue(i2 == 1);5549 5550 // Regression assertion (captures the current behavior of the code)5551 org.junit.Assert.assertTrue(i4 == 1);5552 5553 // Regression assertion (captures the current behavior of the code)5554 org.junit.Assert.assertTrue(i8 == 0);5555 5556 // Regression assertion (captures the current behavior of the code)5557 org.junit.Assert.assertTrue(i11 == 0);5558 5559 // Regression assertion (captures the current behavior of the code)5560 org.junit.Assert.assertTrue(i13 == 0);5561 5562 // Regression assertion (captures the current behavior of the code)5563 org.junit.Assert.assertTrue(i15 == 0);5564 5565 // Regression assertion (captures the current behavior of the code)5566 org.junit.Assert.assertTrue(i17 == 0);5567 }5568 @Test5569 public void test145() throws Throwable {5570 if (debug) { System.out.format("%n%s%n","RegressionTest2.test145"); }5571 container.Container container0 = new container.Container();5572 int i2 = container0.put((int)(short)1);5573 int i4 = container0.get(1);5574 container0.printContainer();5575 container0.printContainer();5576 int i8 = container0.get((int)(short)-1);5577 int i10 = container0.get(100);5578 int i12 = container0.put(10);5579 int i14 = container0.remove(10);5580 container0.printContainer();5581 int i17 = container0.get((int)(short)10);5582 5583 // Regression assertion (captures the current behavior of the code)5584 org.junit.Assert.assertTrue(i2 == 1);5585 5586 // Regression assertion (captures the current behavior of the code)5587 org.junit.Assert.assertTrue(i4 == 1);5588 5589 // Regression assertion (captures the current behavior of the code)5590 org.junit.Assert.assertTrue(i8 == 0);5591 5592 // Regression assertion (captures the current behavior of the code)5593 org.junit.Assert.assertTrue(i10 == 0);5594 5595 // Regression assertion (captures the current behavior of the code)5596 org.junit.Assert.assertTrue(i12 == 1);5597 5598 // Regression assertion (captures the current behavior of the code)5599 org.junit.Assert.assertTrue(i14 == 1);5600 5601 // Regression assertion (captures the current behavior of the code)5602 org.junit.Assert.assertTrue(i17 == 0);5603 }5604 @Test5605 public void test146() throws Throwable {5606 if (debug) { System.out.format("%n%s%n","RegressionTest2.test146"); }5607 container.Container container0 = new container.Container();5608 int i2 = container0.put((int)(byte)-1);5609 int i4 = container0.put((int)(byte)100);5610 int i6 = container0.put(100);5611 int i8 = container0.put((-1));5612 int i10 = container0.get(0);5613 container0.printContainer();5614 int i12 = container0.size();5615 int i14 = container0.remove((int)(short)1);5616 5617 // Regression assertion (captures the current behavior of the code)5618 org.junit.Assert.assertTrue(i2 == 1);5619 5620 // Regression assertion (captures the current behavior of the code)5621 org.junit.Assert.assertTrue(i4 == 1);5622 5623 // Regression assertion (captures the current behavior of the code)5624 org.junit.Assert.assertTrue(i6 == 0);5625 5626 // Regression assertion (captures the current behavior of the code)5627 org.junit.Assert.assertTrue(i8 == 0);5628 5629 // Regression assertion (captures the current behavior of the code)5630 org.junit.Assert.assertTrue(i10 == 0);5631 5632 // Regression assertion (captures the current behavior of the code)5633 org.junit.Assert.assertTrue(i12 == 2);5634 5635 // Regression assertion (captures the current behavior of the code)5636 org.junit.Assert.assertTrue(i14 == 0);5637 }5638 @Test5639 public void test147() throws Throwable {5640 if (debug) { System.out.format("%n%s%n","RegressionTest2.test147"); }5641 container.Container container0 = new container.Container();5642 int i2 = container0.put((int)(short)1);5643 int i4 = container0.get(1);5644 container0.printContainer();5645 container0.printContainer();5646 int i8 = container0.get((int)(byte)0);5647 container0.printContainer();5648 int i11 = container0.put(100);5649 int i12 = container0.size();5650 int i14 = container0.get(0);5651 int i16 = container0.put((int)(byte)-1);5652 int i18 = container0.get((int)'a');5653 container0.printContainer();5654 5655 // Regression assertion (captures the current behavior of the code)5656 org.junit.Assert.assertTrue(i2 == 1);5657 5658 // Regression assertion (captures the current behavior of the code)5659 org.junit.Assert.assertTrue(i4 == 1);5660 5661 // Regression assertion (captures the current behavior of the code)5662 org.junit.Assert.assertTrue(i8 == 0);5663 5664 // Regression assertion (captures the current behavior of the code)5665 org.junit.Assert.assertTrue(i11 == 1);5666 5667 // Regression assertion (captures the current behavior of the code)5668 org.junit.Assert.assertTrue(i12 == 2);5669 5670 // Regression assertion (captures the current behavior of the code)5671 org.junit.Assert.assertTrue(i14 == 0);5672 5673 // Regression assertion (captures the current behavior of the code)5674 org.junit.Assert.assertTrue(i16 == 1);5675 5676 // Regression assertion (captures the current behavior of the code)5677 org.junit.Assert.assertTrue(i18 == 0);5678 }5679 @Test5680 public void test148() throws Throwable {5681 if (debug) { System.out.format("%n%s%n","RegressionTest2.test148"); }5682 container.Container container0 = new container.Container();5683 int i2 = container0.put((int)(short)1);5684 int i4 = container0.get(1);5685 container0.printContainer();5686 int i6 = container0.size();5687 int i8 = container0.remove((int)(byte)1);5688 int i10 = container0.put((int)'#');5689 int i12 = container0.remove(2);5690 int i14 = container0.remove((int)(byte)1);5691 int i15 = container0.size();5692 int i17 = container0.remove((int)'a');5693 5694 // Regression assertion (captures the current behavior of the code)5695 org.junit.Assert.assertTrue(i2 == 1);5696 5697 // Regression assertion (captures the current behavior of the code)5698 org.junit.Assert.assertTrue(i4 == 1);5699 5700 // Regression assertion (captures the current behavior of the code)5701 org.junit.Assert.assertTrue(i6 == 1);5702 5703 // Regression assertion (captures the current behavior of the code)5704 org.junit.Assert.assertTrue(i8 == 1);5705 5706 // Regression assertion (captures the current behavior of the code)5707 org.junit.Assert.assertTrue(i10 == 1);5708 5709 // Regression assertion (captures the current behavior of the code)5710 org.junit.Assert.assertTrue(i12 == 0);5711 5712 // Regression assertion (captures the current behavior of the code)5713 org.junit.Assert.assertTrue(i14 == 0);5714 5715 // Regression assertion (captures the current behavior of the code)5716 org.junit.Assert.assertTrue(i15 == 1);5717 5718 // Regression assertion (captures the current behavior of the code)5719 org.junit.Assert.assertTrue(i17 == 0);5720 }5721 @Test5722 public void test149() throws Throwable {5723 if (debug) { System.out.format("%n%s%n","RegressionTest2.test149"); }5724 container.Container container0 = new container.Container();5725 int i2 = container0.remove((int)(short)10);5726 int i4 = container0.put(0);5727 5728 // Regression assertion (captures the current behavior of the code)5729 org.junit.Assert.assertTrue(i2 == 0);5730 5731 // Regression assertion (captures the current behavior of the code)5732 org.junit.Assert.assertTrue(i4 == 1);5733 }5734 @Test5735 public void test150() throws Throwable {5736 if (debug) { System.out.format("%n%s%n","RegressionTest2.test150"); }5737 container.Container container0 = new container.Container();5738 int i2 = container0.put((int)(short)1);5739 int i4 = container0.get((int)(byte)10);5740 int i6 = container0.remove((int)(short)-1);5741 int i8 = container0.remove(10);5742 int i10 = container0.get(10);5743 int i12 = container0.put(10);5744 container0.printContainer();5745 int i15 = container0.put(1);5746 container0.printContainer();5747 container0.printContainer();5748 int i19 = container0.remove((int)(short)100);5749 int i20 = container0.size();5750 int i21 = container0.size();5751 int i22 = container0.size();5752 int i24 = container0.put((int)' ');5753 5754 // Regression assertion (captures the current behavior of the code)5755 org.junit.Assert.assertTrue(i2 == 1);5756 5757 // Regression assertion (captures the current behavior of the code)5758 org.junit.Assert.assertTrue(i4 == 0);5759 5760 // Regression assertion (captures the current behavior of the code)5761 org.junit.Assert.assertTrue(i6 == 0);5762 5763 // Regression assertion (captures the current behavior of the code)5764 org.junit.Assert.assertTrue(i8 == 0);5765 5766 // Regression assertion (captures the current behavior of the code)5767 org.junit.Assert.assertTrue(i10 == 0);5768 5769 // Regression assertion (captures the current behavior of the code)5770 org.junit.Assert.assertTrue(i12 == 1);5771 5772 // Regression assertion (captures the current behavior of the code)5773 org.junit.Assert.assertTrue(i15 == 0);5774 5775 // Regression assertion (captures the current behavior of the code)5776 org.junit.Assert.assertTrue(i19 == 0);5777 5778 // Regression assertion (captures the current behavior of the code)5779 org.junit.Assert.assertTrue(i20 == 2);5780 5781 // Regression assertion (captures the current behavior of the code)5782 org.junit.Assert.assertTrue(i21 == 2);5783 5784 // Regression assertion (captures the current behavior of the code)5785 org.junit.Assert.assertTrue(i22 == 2);5786 5787 // Regression assertion (captures the current behavior of the code)5788 org.junit.Assert.assertTrue(i24 == 1);5789 }5790 @Test5791 public void test151() throws Throwable {5792 if (debug) { System.out.format("%n%s%n","RegressionTest2.test151"); }5793 container.Container container0 = new container.Container();5794 int i2 = container0.put((int)(byte)-1);5795 int i4 = container0.put((int)(byte)100);5796 int i6 = container0.put(100);5797 int i8 = container0.put((-1));5798 int i10 = container0.get(0);5799 container0.printContainer();5800 int i12 = container0.size();5801 container0.printContainer();5802 int i15 = container0.get((int)(short)100);5803 5804 // Regression assertion (captures the current behavior of the code)5805 org.junit.Assert.assertTrue(i2 == 1);5806 5807 // Regression assertion (captures the current behavior of the code)5808 org.junit.Assert.assertTrue(i4 == 1);5809 5810 // Regression assertion (captures the current behavior of the code)5811 org.junit.Assert.assertTrue(i6 == 0);5812 5813 // Regression assertion (captures the current behavior of the code)5814 org.junit.Assert.assertTrue(i8 == 0);5815 5816 // Regression assertion (captures the current behavior of the code)5817 org.junit.Assert.assertTrue(i10 == 0);5818 5819 // Regression assertion (captures the current behavior of the code)5820 org.junit.Assert.assertTrue(i12 == 2);5821 5822 // Regression assertion (captures the current behavior of the code)5823 org.junit.Assert.assertTrue(i15 == 1);5824 }5825 @Test5826 public void test152() throws Throwable {5827 if (debug) { System.out.format("%n%s%n","RegressionTest2.test152"); }5828 container.Container container0 = new container.Container();5829 int i2 = container0.put((int)(short)1);5830 int i4 = container0.get((int)(byte)10);5831 int i6 = container0.remove((int)(short)-1);5832 int i8 = container0.remove(10);5833 int i10 = container0.get(10);5834 int i12 = container0.put(10);5835 int i14 = container0.put((int)' ');5836 int i16 = container0.remove((int)(byte)-1);5837 int i18 = container0.get(3);5838 int i20 = container0.get((int)(byte)100);5839 int i22 = container0.put((int)(short)-1);5840 int i24 = container0.put((int)(byte)0);5841 int i26 = container0.get((int)'#');5842 int i28 = container0.remove(10);5843 container0.printContainer();5844 int i31 = container0.get((int)' ');5845 5846 // Regression assertion (captures the current behavior of the code)5847 org.junit.Assert.assertTrue(i2 == 1);5848 5849 // Regression assertion (captures the current behavior of the code)5850 org.junit.Assert.assertTrue(i4 == 0);5851 5852 // Regression assertion (captures the current behavior of the code)5853 org.junit.Assert.assertTrue(i6 == 0);5854 5855 // Regression assertion (captures the current behavior of the code)5856 org.junit.Assert.assertTrue(i8 == 0);5857 5858 // Regression assertion (captures the current behavior of the code)5859 org.junit.Assert.assertTrue(i10 == 0);5860 5861 // Regression assertion (captures the current behavior of the code)5862 org.junit.Assert.assertTrue(i12 == 1);5863 5864 // Regression assertion (captures the current behavior of the code)5865 org.junit.Assert.assertTrue(i14 == 1);5866 5867 // Regression assertion (captures the current behavior of the code)5868 org.junit.Assert.assertTrue(i16 == 0);5869 5870 // Regression assertion (captures the current behavior of the code)5871 org.junit.Assert.assertTrue(i18 == 0);5872 5873 // Regression assertion (captures the current behavior of the code)5874 org.junit.Assert.assertTrue(i20 == 0);5875 5876 // Regression assertion (captures the current behavior of the code)5877 org.junit.Assert.assertTrue(i22 == 1);5878 5879 // Regression assertion (captures the current behavior of the code)5880 org.junit.Assert.assertTrue(i24 == 1);5881 5882 // Regression assertion (captures the current behavior of the code)5883 org.junit.Assert.assertTrue(i26 == 0);5884 5885 // Regression assertion (captures the current behavior of the code)5886 org.junit.Assert.assertTrue(i28 == 1);5887 5888 // Regression assertion (captures the current behavior of the code)5889 org.junit.Assert.assertTrue(i31 == 1);5890 }5891 @Test5892 public void test153() throws Throwable {5893 if (debug) { System.out.format("%n%s%n","RegressionTest2.test153"); }5894 container.Container container0 = new container.Container();5895 int i2 = container0.put((int)(short)1);5896 int i4 = container0.get(1);5897 container0.printContainer();5898 container0.printContainer();5899 int i8 = container0.get((int)(byte)10);5900 int i10 = container0.remove((int)(byte)1);5901 container0.printContainer();5902 int i12 = container0.size();5903 int i13 = container0.size();5904 container0.printContainer();5905 int i16 = container0.get(5);5906 5907 // Regression assertion (captures the current behavior of the code)5908 org.junit.Assert.assertTrue(i2 == 1);5909 5910 // Regression assertion (captures the current behavior of the code)5911 org.junit.Assert.assertTrue(i4 == 1);5912 5913 // Regression assertion (captures the current behavior of the code)5914 org.junit.Assert.assertTrue(i8 == 0);5915 5916 // Regression assertion (captures the current behavior of the code)5917 org.junit.Assert.assertTrue(i10 == 1);5918 5919 // Regression assertion (captures the current behavior of the code)5920 org.junit.Assert.assertTrue(i12 == 0);5921 5922 // Regression assertion (captures the current behavior of the code)5923 org.junit.Assert.assertTrue(i13 == 0);5924 5925 // Regression assertion (captures the current behavior of the code)5926 org.junit.Assert.assertTrue(i16 == 0);5927 }5928 @Test5929 public void test154() throws Throwable {5930 if (debug) { System.out.format("%n%s%n","RegressionTest2.test154"); }5931 container.Container container0 = new container.Container();5932 int i2 = container0.put((int)(short)1);5933 int i4 = container0.get((int)(byte)10);5934 int i6 = container0.remove((int)(short)-1);5935 int i8 = container0.remove(10);5936 int i10 = container0.get(10);5937 int i12 = container0.put(10);5938 int i14 = container0.put((int)' ');5939 int i16 = container0.remove((int)(byte)-1);5940 container0.printContainer();5941 container0.printContainer();5942 int i19 = container0.size();5943 5944 // Regression assertion (captures the current behavior of the code)5945 org.junit.Assert.assertTrue(i2 == 1);5946 5947 // Regression assertion (captures the current behavior of the code)5948 org.junit.Assert.assertTrue(i4 == 0);5949 5950 // Regression assertion (captures the current behavior of the code)5951 org.junit.Assert.assertTrue(i6 == 0);5952 5953 // Regression assertion (captures the current behavior of the code)5954 org.junit.Assert.assertTrue(i8 == 0);5955 5956 // Regression assertion (captures the current behavior of the code)5957 org.junit.Assert.assertTrue(i10 == 0);5958 5959 // Regression assertion (captures the current behavior of the code)5960 org.junit.Assert.assertTrue(i12 == 1);5961 5962 // Regression assertion (captures the current behavior of the code)5963 org.junit.Assert.assertTrue(i14 == 1);5964 5965 // Regression assertion (captures the current behavior of the code)5966 org.junit.Assert.assertTrue(i16 == 0);5967 5968 // Regression assertion (captures the current behavior of the code)5969 org.junit.Assert.assertTrue(i19 == 3);5970 }5971 @Test5972 public void test155() throws Throwable {5973 if (debug) { System.out.format("%n%s%n","RegressionTest2.test155"); }5974 container.Container container0 = new container.Container();5975 int i2 = container0.put((int)(short)1);5976 int i4 = container0.get((int)(byte)10);5977 int i6 = container0.remove((int)(short)-1);5978 int i8 = container0.remove(10);5979 container0.printContainer();5980 int i11 = container0.put((int)(short)0);5981 5982 // Regression assertion (captures the current behavior of the code)5983 org.junit.Assert.assertTrue(i2 == 1);5984 5985 // Regression assertion (captures the current behavior of the code)5986 org.junit.Assert.assertTrue(i4 == 0);5987 5988 // Regression assertion (captures the current behavior of the code)5989 org.junit.Assert.assertTrue(i6 == 0);5990 5991 // Regression assertion (captures the current behavior of the code)5992 org.junit.Assert.assertTrue(i8 == 0);5993 5994 // Regression assertion (captures the current behavior of the code)5995 org.junit.Assert.assertTrue(i11 == 1);5996 }5997 @Test5998 public void test156() throws Throwable {5999 if (debug) { System.out.format("%n%s%n","RegressionTest2.test156"); }6000 container.Container container0 = new container.Container();6001 int i2 = container0.put((int)(short)1);6002 int i4 = container0.get(1);6003 container0.printContainer();6004 container0.printContainer();6005 int i8 = container0.get((int)(byte)10);6006 container0.printContainer();6007 int i11 = container0.get(1);6008 int i13 = container0.put(3);6009 int i15 = container0.get(10);6010 container0.printContainer();6011 6012 // Regression assertion (captures the current behavior of the code)6013 org.junit.Assert.assertTrue(i2 == 1);6014 6015 // Regression assertion (captures the current behavior of the code)6016 org.junit.Assert.assertTrue(i4 == 1);6017 6018 // Regression assertion (captures the current behavior of the code)6019 org.junit.Assert.assertTrue(i8 == 0);6020 6021 // Regression assertion (captures the current behavior of the code)6022 org.junit.Assert.assertTrue(i11 == 1);6023 6024 // Regression assertion (captures the current behavior of the code)6025 org.junit.Assert.assertTrue(i13 == 1);6026 6027 // Regression assertion (captures the current behavior of the code)6028 org.junit.Assert.assertTrue(i15 == 0);6029 }6030 @Test6031 public void test157() throws Throwable {6032 if (debug) { System.out.format("%n%s%n","RegressionTest2.test157"); }6033 container.Container container0 = new container.Container();6034 int i2 = container0.put((int)(byte)-1);6035 int i4 = container0.put((int)(byte)100);6036 int i6 = container0.put(100);6037 int i8 = container0.put((-1));6038 int i10 = container0.get((int)'#');6039 int i11 = container0.size();6040 container0.printContainer();6041 int i13 = container0.size();6042 int i15 = container0.remove(100);6043 int i17 = container0.get((int)(byte)1);6044 6045 // Regression assertion (captures the current behavior of the code)6046 org.junit.Assert.assertTrue(i2 == 1);6047 6048 // Regression assertion (captures the current behavior of the code)6049 org.junit.Assert.assertTrue(i4 == 1);6050 6051 // Regression assertion (captures the current behavior of the code)6052 org.junit.Assert.assertTrue(i6 == 0);6053 6054 // Regression assertion (captures the current behavior of the code)6055 org.junit.Assert.assertTrue(i8 == 0);6056 6057 // Regression assertion (captures the current behavior of the code)6058 org.junit.Assert.assertTrue(i10 == 0);6059 6060 // Regression assertion (captures the current behavior of the code)6061 org.junit.Assert.assertTrue(i11 == 2);6062 6063 // Regression assertion (captures the current behavior of the code)6064 org.junit.Assert.assertTrue(i13 == 2);6065 6066 // Regression assertion (captures the current behavior of the code)6067 org.junit.Assert.assertTrue(i15 == 1);6068 6069 // Regression assertion (captures the current behavior of the code)6070 org.junit.Assert.assertTrue(i17 == 0);6071 }6072 @Test6073 public void test158() throws Throwable {6074 if (debug) { System.out.format("%n%s%n","RegressionTest2.test158"); }6075 container.Container container0 = new container.Container();6076 int i2 = container0.put((int)(short)1);6077 int i4 = container0.get((int)(byte)10);6078 int i6 = container0.put((int)(short)1);6079 int i8 = container0.get((int)'#');6080 int i9 = container0.size();6081 container0.printContainer();6082 int i12 = container0.put((int)' ');6083 container0.printContainer();6084 int i15 = container0.remove((int)(byte)10);6085 6086 // Regression assertion (captures the current behavior of the code)6087 org.junit.Assert.assertTrue(i2 == 1);6088 6089 // Regression assertion (captures the current behavior of the code)6090 org.junit.Assert.assertTrue(i4 == 0);6091 6092 // Regression assertion (captures the current behavior of the code)6093 org.junit.Assert.assertTrue(i6 == 0);6094 6095 // Regression assertion (captures the current behavior of the code)6096 org.junit.Assert.assertTrue(i8 == 0);6097 6098 // Regression assertion (captures the current behavior of the code)6099 org.junit.Assert.assertTrue(i9 == 1);6100 6101 // Regression assertion (captures the current behavior of the code)6102 org.junit.Assert.assertTrue(i12 == 1);6103 6104 // Regression assertion (captures the current behavior of the code)6105 org.junit.Assert.assertTrue(i15 == 0);6106 }6107 @Test6108 public void test159() throws Throwable {6109 if (debug) { System.out.format("%n%s%n","RegressionTest2.test159"); }6110 container.Container container0 = new container.Container();6111 int i2 = container0.put((int)(short)1);6112 int i4 = container0.get(1);6113 int i6 = container0.put(0);6114 int i8 = container0.put(1);6115 container0.printContainer();6116 int i11 = container0.get((int)(short)10);6117 int i13 = container0.put((int)(short)1);6118 int i15 = container0.remove(0);6119 int i17 = container0.get((int)(byte)100);6120 6121 // Regression assertion (captures the current behavior of the code)6122 org.junit.Assert.assertTrue(i2 == 1);6123 6124 // Regression assertion (captures the current behavior of the code)6125 org.junit.Assert.assertTrue(i4 == 1);6126 6127 // Regression assertion (captures the current behavior of the code)6128 org.junit.Assert.assertTrue(i6 == 1);6129 6130 // Regression assertion (captures the current behavior of the code)6131 org.junit.Assert.assertTrue(i8 == 0);6132 6133 // Regression assertion (captures the current behavior of the code)6134 org.junit.Assert.assertTrue(i11 == 0);6135 6136 // Regression assertion (captures the current behavior of the code)6137 org.junit.Assert.assertTrue(i13 == 0);6138 6139 // Regression assertion (captures the current behavior of the code)6140 org.junit.Assert.assertTrue(i15 == 1);6141 6142 // Regression assertion (captures the current behavior of the code)6143 org.junit.Assert.assertTrue(i17 == 0);6144 }6145 @Test6146 public void test160() throws Throwable {6147 if (debug) { System.out.format("%n%s%n","RegressionTest2.test160"); }6148 container.Container container0 = new container.Container();6149 container0.printContainer();6150 int i3 = container0.put((int)(byte)0);6151 int i5 = container0.get(1);6152 int i6 = container0.size();6153 container0.printContainer();6154 int i8 = container0.size();6155 int i10 = container0.put((int)(short)1);6156 6157 // Regression assertion (captures the current behavior of the code)6158 org.junit.Assert.assertTrue(i3 == 1);6159 6160 // Regression assertion (captures the current behavior of the code)6161 org.junit.Assert.assertTrue(i5 == 0);6162 6163 // Regression assertion (captures the current behavior of the code)6164 org.junit.Assert.assertTrue(i6 == 1);6165 6166 // Regression assertion (captures the current behavior of the code)6167 org.junit.Assert.assertTrue(i8 == 1);6168 6169 // Regression assertion (captures the current behavior of the code)6170 org.junit.Assert.assertTrue(i10 == 1);6171 }6172 @Test6173 public void test161() throws Throwable {6174 if (debug) { System.out.format("%n%s%n","RegressionTest2.test161"); }6175 container.Container container0 = new container.Container();6176 int i2 = container0.put((int)(short)1);6177 int i4 = container0.get(1);6178 container0.printContainer();6179 int i6 = container0.size();6180 int i8 = container0.remove((int)(byte)1);6181 int i10 = container0.put((int)'#');6182 container0.printContainer();6183 container0.printContainer();6184 int i14 = container0.remove(1);6185 int i16 = container0.remove((int)'a');6186 int i18 = container0.remove((int)(short)10);6187 int i20 = container0.put(10);6188 int i21 = container0.size();6189 int i22 = container0.size();6190 int i24 = container0.remove((int)(byte)100);6191 int i26 = container0.put(3);6192 6193 // Regression assertion (captures the current behavior of the code)6194 org.junit.Assert.assertTrue(i2 == 1);6195 6196 // Regression assertion (captures the current behavior of the code)6197 org.junit.Assert.assertTrue(i4 == 1);6198 6199 // Regression assertion (captures the current behavior of the code)6200 org.junit.Assert.assertTrue(i6 == 1);6201 6202 // Regression assertion (captures the current behavior of the code)6203 org.junit.Assert.assertTrue(i8 == 1);6204 6205 // Regression assertion (captures the current behavior of the code)6206 org.junit.Assert.assertTrue(i10 == 1);6207 6208 // Regression assertion (captures the current behavior of the code)6209 org.junit.Assert.assertTrue(i14 == 0);6210 6211 // Regression assertion (captures the current behavior of the code)6212 org.junit.Assert.assertTrue(i16 == 0);6213 6214 // Regression assertion (captures the current behavior of the code)6215 org.junit.Assert.assertTrue(i18 == 0);6216 6217 // Regression assertion (captures the current behavior of the code)6218 org.junit.Assert.assertTrue(i20 == 1);6219 6220 // Regression assertion (captures the current behavior of the code)6221 org.junit.Assert.assertTrue(i21 == 2);6222 6223 // Regression assertion (captures the current behavior of the code)6224 org.junit.Assert.assertTrue(i22 == 2);6225 6226 // Regression assertion (captures the current behavior of the code)6227 org.junit.Assert.assertTrue(i24 == 0);6228 6229 // Regression assertion (captures the current behavior of the code)6230 org.junit.Assert.assertTrue(i26 == 1);6231 }6232 @Test6233 public void test162() throws Throwable {6234 if (debug) { System.out.format("%n%s%n","RegressionTest2.test162"); }6235 container.Container container0 = new container.Container();6236 int i2 = container0.put((int)(short)1);6237 int i4 = container0.get(1);6238 container0.printContainer();6239 container0.printContainer();6240 int i8 = container0.get((int)(byte)10);6241 int i10 = container0.remove((int)(byte)1);6242 container0.printContainer();6243 container0.printContainer();6244 container0.printContainer();6245 6246 // Regression assertion (captures the current behavior of the code)6247 org.junit.Assert.assertTrue(i2 == 1);6248 6249 // Regression assertion (captures the current behavior of the code)6250 org.junit.Assert.assertTrue(i4 == 1);6251 6252 // Regression assertion (captures the current behavior of the code)6253 org.junit.Assert.assertTrue(i8 == 0);6254 6255 // Regression assertion (captures the current behavior of the code)6256 org.junit.Assert.assertTrue(i10 == 1);6257 }6258 @Test6259 public void test163() throws Throwable {6260 if (debug) { System.out.format("%n%s%n","RegressionTest2.test163"); }6261 container.Container container0 = new container.Container();6262 int i2 = container0.put((int)(short)1);6263 int i4 = container0.get(1);6264 container0.printContainer();6265 int i6 = container0.size();6266 int i8 = container0.remove((int)(byte)1);6267 int i10 = container0.put((int)(short)1);6268 int i12 = container0.get((int)'4');6269 int i14 = container0.get((int)(byte)100);6270 int i16 = container0.put(3);6271 int i18 = container0.remove((int)(byte)1);6272 int i20 = container0.get((int)'a');6273 6274 // Regression assertion (captures the current behavior of the code)6275 org.junit.Assert.assertTrue(i2 == 1);6276 6277 // Regression assertion (captures the current behavior of the code)6278 org.junit.Assert.assertTrue(i4 == 1);6279 6280 // Regression assertion (captures the current behavior of the code)6281 org.junit.Assert.assertTrue(i6 == 1);6282 6283 // Regression assertion (captures the current behavior of the code)6284 org.junit.Assert.assertTrue(i8 == 1);6285 6286 // Regression assertion (captures the current behavior of the code)6287 org.junit.Assert.assertTrue(i10 == 1);6288 6289 // Regression assertion (captures the current behavior of the code)6290 org.junit.Assert.assertTrue(i12 == 0);6291 6292 // Regression assertion (captures the current behavior of the code)6293 org.junit.Assert.assertTrue(i14 == 0);6294 6295 // Regression assertion (captures the current behavior of the code)6296 org.junit.Assert.assertTrue(i16 == 1);6297 6298 // Regression assertion (captures the current behavior of the code)6299 org.junit.Assert.assertTrue(i18 == 1);6300 6301 // Regression assertion (captures the current behavior of the code)6302 org.junit.Assert.assertTrue(i20 == 0);6303 }6304 @Test6305 public void test164() throws Throwable {6306 if (debug) { System.out.format("%n%s%n","RegressionTest2.test164"); }6307 container.Container container0 = new container.Container();6308 int i2 = container0.put((int)(short)1);6309 int i4 = container0.get(1);6310 container0.printContainer();6311 container0.printContainer();6312 int i8 = container0.get((int)(short)-1);6313 int i10 = container0.get(100);6314 int i12 = container0.put(10);6315 int i14 = container0.put(0);6316 int i16 = container0.put((-1));6317 int i18 = container0.get((int)(short)10);6318 6319 // Regression assertion (captures the current behavior of the code)6320 org.junit.Assert.assertTrue(i2 == 1);6321 6322 // Regression assertion (captures the current behavior of the code)6323 org.junit.Assert.assertTrue(i4 == 1);6324 6325 // Regression assertion (captures the current behavior of the code)6326 org.junit.Assert.assertTrue(i8 == 0);6327 6328 // Regression assertion (captures the current behavior of the code)6329 org.junit.Assert.assertTrue(i10 == 0);6330 6331 // Regression assertion (captures the current behavior of the code)6332 org.junit.Assert.assertTrue(i12 == 1);6333 6334 // Regression assertion (captures the current behavior of the code)6335 org.junit.Assert.assertTrue(i14 == 1);6336 6337 // Regression assertion (captures the current behavior of the code)6338 org.junit.Assert.assertTrue(i16 == 1);6339 6340 // Regression assertion (captures the current behavior of the code)6341 org.junit.Assert.assertTrue(i18 == 1);6342 }6343 @Test6344 public void test165() throws Throwable {6345 if (debug) { System.out.format("%n%s%n","RegressionTest2.test165"); }6346 container.Container container0 = new container.Container();6347 int i2 = container0.put((int)(short)1);6348 int i4 = container0.get(1);6349 int i6 = container0.put(0);6350 int i8 = container0.get((int)(byte)1);6351 container0.printContainer();6352 int i11 = container0.get(0);6353 container0.printContainer();6354 int i14 = container0.put((int)'4');6355 int i16 = container0.get(3);6356 int i18 = container0.get((int)'#');6357 6358 // Regression assertion (captures the current behavior of the code)6359 org.junit.Assert.assertTrue(i2 == 1);6360 6361 // Regression assertion (captures the current behavior of the code)6362 org.junit.Assert.assertTrue(i4 == 1);6363 6364 // Regression assertion (captures the current behavior of the code)6365 org.junit.Assert.assertTrue(i6 == 1);6366 6367 // Regression assertion (captures the current behavior of the code)6368 org.junit.Assert.assertTrue(i8 == 1);6369 6370 // Regression assertion (captures the current behavior of the code)6371 org.junit.Assert.assertTrue(i11 == 1);6372 6373 // Regression assertion (captures the current behavior of the code)6374 org.junit.Assert.assertTrue(i14 == 1);6375 6376 // Regression assertion (captures the current behavior of the code)6377 org.junit.Assert.assertTrue(i16 == 0);6378 6379 // Regression assertion (captures the current behavior of the code)6380 org.junit.Assert.assertTrue(i18 == 0);6381 }6382 @Test6383 public void test166() throws Throwable {6384 if (debug) { System.out.format("%n%s%n","RegressionTest2.test166"); }6385 container.Container container0 = new container.Container();6386 int i2 = container0.put((int)(short)1);6387 int i4 = container0.put((int)(short)0);6388 int i6 = container0.put((int)'a');6389 container0.printContainer();6390 int i9 = container0.get((int)(byte)10);6391 int i10 = container0.size();6392 int i12 = container0.get((int)'a');6393 container0.printContainer();6394 container0.printContainer();6395 container0.printContainer();6396 6397 // Regression assertion (captures the current behavior of the code)6398 org.junit.Assert.assertTrue(i2 == 1);6399 6400 // Regression assertion (captures the current behavior of the code)6401 org.junit.Assert.assertTrue(i4 == 1);6402 6403 // Regression assertion (captures the current behavior of the code)6404 org.junit.Assert.assertTrue(i6 == 1);6405 6406 // Regression assertion (captures the current behavior of the code)6407 org.junit.Assert.assertTrue(i9 == 0);6408 6409 // Regression assertion (captures the current behavior of the code)6410 org.junit.Assert.assertTrue(i10 == 3);6411 6412 // Regression assertion (captures the current behavior of the code)6413 org.junit.Assert.assertTrue(i12 == 1);6414 }6415 @Test6416 public void test167() throws Throwable {6417 if (debug) { System.out.format("%n%s%n","RegressionTest2.test167"); }6418 container.Container container0 = new container.Container();6419 int i2 = container0.put((int)(short)1);6420 int i4 = container0.put((int)(short)0);6421 container0.printContainer();6422 int i7 = container0.put((int)(byte)10);6423 int i9 = container0.put((int)(byte)-1);6424 container0.printContainer();6425 int i12 = container0.remove((int)(byte)1);6426 int i14 = container0.remove(0);6427 container0.printContainer();6428 int i17 = container0.get(0);6429 container0.printContainer();6430 int i20 = container0.put(4);6431 6432 // Regression assertion (captures the current behavior of the code)6433 org.junit.Assert.assertTrue(i2 == 1);6434 6435 // Regression assertion (captures the current behavior of the code)6436 org.junit.Assert.assertTrue(i4 == 1);6437 6438 // Regression assertion (captures the current behavior of the code)6439 org.junit.Assert.assertTrue(i7 == 1);6440 6441 // Regression assertion (captures the current behavior of the code)6442 org.junit.Assert.assertTrue(i9 == 1);6443 6444 // Regression assertion (captures the current behavior of the code)6445 org.junit.Assert.assertTrue(i12 == 1);6446 6447 // Regression assertion (captures the current behavior of the code)6448 org.junit.Assert.assertTrue(i14 == 1);6449 6450 // Regression assertion (captures the current behavior of the code)6451 org.junit.Assert.assertTrue(i17 == 0);6452 6453 // Regression assertion (captures the current behavior of the code)6454 org.junit.Assert.assertTrue(i20 == 1);6455 }6456 @Test6457 public void test168() throws Throwable {6458 if (debug) { System.out.format("%n%s%n","RegressionTest2.test168"); }6459 container.Container container0 = new container.Container();6460 int i2 = container0.put((int)(byte)-1);6461 int i4 = container0.put((int)(byte)100);6462 int i6 = container0.put(100);6463 int i8 = container0.put((-1));6464 int i10 = container0.get((int)'#');6465 container0.printContainer();6466 int i13 = container0.remove((int)(short)-1);6467 container0.printContainer();6468 6469 // Regression assertion (captures the current behavior of the code)6470 org.junit.Assert.assertTrue(i2 == 1);6471 6472 // Regression assertion (captures the current behavior of the code)6473 org.junit.Assert.assertTrue(i4 == 1);6474 6475 // Regression assertion (captures the current behavior of the code)6476 org.junit.Assert.assertTrue(i6 == 0);6477 6478 // Regression assertion (captures the current behavior of the code)6479 org.junit.Assert.assertTrue(i8 == 0);6480 6481 // Regression assertion (captures the current behavior of the code)6482 org.junit.Assert.assertTrue(i10 == 0);6483 6484 // Regression assertion (captures the current behavior of the code)6485 org.junit.Assert.assertTrue(i13 == 1);6486 }6487 @Test6488 public void test169() throws Throwable {6489 if (debug) { System.out.format("%n%s%n","RegressionTest2.test169"); }6490 container.Container container0 = new container.Container();6491 int i2 = container0.put((int)(short)1);6492 int i4 = container0.get(1);6493 container0.printContainer();6494 int i6 = container0.size();6495 int i8 = container0.remove((int)(byte)1);6496 int i10 = container0.put((int)'#');6497 container0.printContainer();6498 container0.printContainer();6499 int i14 = container0.remove(1);6500 int i16 = container0.remove((int)'a');6501 int i18 = container0.remove((int)(short)10);6502 int i20 = container0.put(10);6503 int i21 = container0.size();6504 int i22 = container0.size();6505 int i24 = container0.remove((int)(byte)100);6506 int i26 = container0.remove(2);6507 int i28 = container0.put((int)(byte)100);6508 int i30 = container0.put((int)'a');6509 6510 // Regression assertion (captures the current behavior of the code)6511 org.junit.Assert.assertTrue(i2 == 1);6512 6513 // Regression assertion (captures the current behavior of the code)6514 org.junit.Assert.assertTrue(i4 == 1);6515 6516 // Regression assertion (captures the current behavior of the code)6517 org.junit.Assert.assertTrue(i6 == 1);6518 6519 // Regression assertion (captures the current behavior of the code)6520 org.junit.Assert.assertTrue(i8 == 1);6521 6522 // Regression assertion (captures the current behavior of the code)6523 org.junit.Assert.assertTrue(i10 == 1);6524 6525 // Regression assertion (captures the current behavior of the code)6526 org.junit.Assert.assertTrue(i14 == 0);6527 6528 // Regression assertion (captures the current behavior of the code)6529 org.junit.Assert.assertTrue(i16 == 0);6530 6531 // Regression assertion (captures the current behavior of the code)6532 org.junit.Assert.assertTrue(i18 == 0);6533 6534 // Regression assertion (captures the current behavior of the code)6535 org.junit.Assert.assertTrue(i20 == 1);6536 6537 // Regression assertion (captures the current behavior of the code)6538 org.junit.Assert.assertTrue(i21 == 2);6539 6540 // Regression assertion (captures the current behavior of the code)6541 org.junit.Assert.assertTrue(i22 == 2);6542 6543 // Regression assertion (captures the current behavior of the code)6544 org.junit.Assert.assertTrue(i24 == 0);6545 6546 // Regression assertion (captures the current behavior of the code)6547 org.junit.Assert.assertTrue(i26 == 0);6548 6549 // Regression assertion (captures the current behavior of the code)6550 org.junit.Assert.assertTrue(i28 == 1);6551 6552 // Regression assertion (captures the current behavior of the code)6553 org.junit.Assert.assertTrue(i30 == 1);6554 }6555 @Test6556 public void test170() throws Throwable {6557 if (debug) { System.out.format("%n%s%n","RegressionTest2.test170"); }6558 container.Container container0 = new container.Container();6559 int i2 = container0.put((int)(byte)-1);6560 int i3 = container0.size();6561 int i5 = container0.get(2);6562 int i7 = container0.get((-1));6563 int i9 = container0.remove((int)(short)100);6564 container0.printContainer();6565 int i12 = container0.get(2);6566 6567 // Regression assertion (captures the current behavior of the code)6568 org.junit.Assert.assertTrue(i2 == 1);6569 6570 // Regression assertion (captures the current behavior of the code)6571 org.junit.Assert.assertTrue(i3 == 1);6572 6573 // Regression assertion (captures the current behavior of the code)6574 org.junit.Assert.assertTrue(i5 == 0);6575 6576 // Regression assertion (captures the current behavior of the code)6577 org.junit.Assert.assertTrue(i7 == 1);6578 6579 // Regression assertion (captures the current behavior of the code)6580 org.junit.Assert.assertTrue(i9 == 0);6581 6582 // Regression assertion (captures the current behavior of the code)6583 org.junit.Assert.assertTrue(i12 == 0);6584 }6585 @Test6586 public void test171() throws Throwable {6587 if (debug) { System.out.format("%n%s%n","RegressionTest2.test171"); }6588 container.Container container0 = new container.Container();6589 int i2 = container0.put((int)(byte)-1);6590 int i3 = container0.size();6591 int i5 = container0.get(2);6592 int i7 = container0.put(3);6593 int i9 = container0.put((int)(byte)10);6594 6595 // Regression assertion (captures the current behavior of the code)6596 org.junit.Assert.assertTrue(i2 == 1);6597 6598 // Regression assertion (captures the current behavior of the code)6599 org.junit.Assert.assertTrue(i3 == 1);6600 6601 // Regression assertion (captures the current behavior of the code)6602 org.junit.Assert.assertTrue(i5 == 0);6603 6604 // Regression assertion (captures the current behavior of the code)6605 org.junit.Assert.assertTrue(i7 == 1);6606 6607 // Regression assertion (captures the current behavior of the code)6608 org.junit.Assert.assertTrue(i9 == 1);6609 }6610 @Test6611 public void test172() throws Throwable {6612 if (debug) { System.out.format("%n%s%n","RegressionTest2.test172"); }6613 container.Container container0 = new container.Container();6614 int i2 = container0.put((int)(short)1);6615 int i4 = container0.get(1);6616 int i5 = container0.size();6617 int i7 = container0.get((int)'#');6618 int i9 = container0.get(0);6619 container0.printContainer();6620 6621 // Regression assertion (captures the current behavior of the code)6622 org.junit.Assert.assertTrue(i2 == 1);6623 6624 // Regression assertion (captures the current behavior of the code)6625 org.junit.Assert.assertTrue(i4 == 1);6626 6627 // Regression assertion (captures the current behavior of the code)6628 org.junit.Assert.assertTrue(i5 == 1);6629 6630 // Regression assertion (captures the current behavior of the code)6631 org.junit.Assert.assertTrue(i7 == 0);6632 6633 // Regression assertion (captures the current behavior of the code)6634 org.junit.Assert.assertTrue(i9 == 0);6635 }6636 @Test6637 public void test173() throws Throwable {6638 if (debug) { System.out.format("%n%s%n","RegressionTest2.test173"); }6639 container.Container container0 = new container.Container();6640 int i2 = container0.put((int)(short)1);6641 int i4 = container0.get(1);6642 container0.printContainer();6643 container0.printContainer();6644 int i8 = container0.get((int)(byte)0);6645 container0.printContainer();6646 int i11 = container0.put(100);6647 int i12 = container0.size();6648 int i14 = container0.get(0);6649 int i16 = container0.put((int)(byte)-1);6650 container0.printContainer();6651 container0.printContainer();6652 6653 // Regression assertion (captures the current behavior of the code)6654 org.junit.Assert.assertTrue(i2 == 1);6655 6656 // Regression assertion (captures the current behavior of the code)6657 org.junit.Assert.assertTrue(i4 == 1);6658 6659 // Regression assertion (captures the current behavior of the code)6660 org.junit.Assert.assertTrue(i8 == 0);6661 6662 // Regression assertion (captures the current behavior of the code)6663 org.junit.Assert.assertTrue(i11 == 1);6664 6665 // Regression assertion (captures the current behavior of the code)6666 org.junit.Assert.assertTrue(i12 == 2);6667 6668 // Regression assertion (captures the current behavior of the code)6669 org.junit.Assert.assertTrue(i14 == 0);6670 6671 // Regression assertion (captures the current behavior of the code)6672 org.junit.Assert.assertTrue(i16 == 1);6673 }6674}...

Full Screen

Full Screen

Source:RegressionTest0.java Github

copy

Full Screen

...23 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();24 int int2 = stackAr0.magicFunction((double) 1);25 int int4 = stackAr0.magicFunction((double) (byte) 10);26 java.lang.Class<?> wildcardClass5 = stackAr0.getClass();27 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);28 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);29 org.junit.Assert.assertNotNull(wildcardClass5);30 }3132 @Test33 public void test03() throws Throwable {34 if (debug)35 System.out.format("%n%s%n", "RegressionTest0.test03");36 java.lang.Object obj0 = new java.lang.Object();37 java.lang.Class<?> wildcardClass1 = obj0.getClass();38 org.junit.Assert.assertNotNull(wildcardClass1);39 }4041 @Test42 public void test04() throws Throwable {43 if (debug)44 System.out.format("%n%s%n", "RegressionTest0.test04");45 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();46 int int2 = stackAr0.magicFunction((double) 1);47 java.lang.Class<?> wildcardClass3 = stackAr0.getClass();48 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);49 org.junit.Assert.assertNotNull(wildcardClass3);50 }5152 @Test53 public void test05() throws Throwable {54 if (debug)55 System.out.format("%n%s%n", "RegressionTest0.test05");56 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();57 int int2 = stackAr0.magicFunction((double) 0.0f);58 java.lang.Class<?> wildcardClass3 = stackAr0.getClass();59 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);60 org.junit.Assert.assertNotNull(wildcardClass3);61 }6263 @Test64 public void test06() throws Throwable {65 if (debug)66 System.out.format("%n%s%n", "RegressionTest0.test06");67 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();68 int int2 = stackAr0.magicFunction((double) (byte) 100);69 java.lang.Class<?> wildcardClass3 = stackAr0.getClass();70 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);71 org.junit.Assert.assertNotNull(wildcardClass3);72 }7374 @Test75 public void test07() throws Throwable {76 if (debug)77 System.out.format("%n%s%n", "RegressionTest0.test07");78 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();79 int int2 = stackAr0.magicFunction((double) (byte) 10);80 int int4 = stackAr0.magicFunction((double) 100.0f);81 int int6 = stackAr0.magicFunction(0.0d);82 int int8 = stackAr0.magicFunction(100.0d);83 java.lang.Class<?> wildcardClass9 = stackAr0.getClass();84 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);85 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);86 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);87 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);88 org.junit.Assert.assertNotNull(wildcardClass9);89 }9091 @Test92 public void test08() throws Throwable {93 if (debug)94 System.out.format("%n%s%n", "RegressionTest0.test08");95 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();96 int int2 = stackAr0.magicFunction((double) 1);97 int int4 = stackAr0.magicFunction((double) '4');98 java.lang.Class<?> wildcardClass5 = stackAr0.getClass();99 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);100 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);101 org.junit.Assert.assertNotNull(wildcardClass5);102 }103104 @Test105 public void test09() throws Throwable {106 if (debug)107 System.out.format("%n%s%n", "RegressionTest0.test09");108 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();109 int int2 = stackAr0.magicFunction((-1.0d));110 java.lang.Class<?> wildcardClass3 = stackAr0.getClass();111 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 1 + "'", int2 == 1);112 org.junit.Assert.assertNotNull(wildcardClass3);113 }114115 @Test116 public void test10() throws Throwable {117 if (debug)118 System.out.format("%n%s%n", "RegressionTest0.test10");119 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();120 int int2 = stackAr0.magicFunction((double) (byte) 10);121 java.lang.Class<?> wildcardClass3 = stackAr0.getClass();122 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);123 org.junit.Assert.assertNotNull(wildcardClass3);124 }125126 @Test127 public void test11() throws Throwable {128 if (debug)129 System.out.format("%n%s%n", "RegressionTest0.test11");130 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();131 int int2 = stackAr0.magicFunction((double) 1);132 int int4 = stackAr0.magicFunction((double) (byte) 10);133 int int6 = stackAr0.magicFunction((double) (short) 1);134 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();135 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);136 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);137 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);138 org.junit.Assert.assertNotNull(wildcardClass7);139 }140141 @Test142 public void test12() throws Throwable {143 if (debug)144 System.out.format("%n%s%n", "RegressionTest0.test12");145 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();146 int int2 = stackAr0.magicFunction((double) (byte) 10);147 int int4 = stackAr0.magicFunction((double) 100.0f);148 int int6 = stackAr0.magicFunction(0.0d);149 int int8 = stackAr0.magicFunction(0.0d);150 java.lang.Class<?> wildcardClass9 = stackAr0.getClass();151 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);152 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);153 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);154 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);155 org.junit.Assert.assertNotNull(wildcardClass9);156 }157158 @Test159 public void test13() throws Throwable {160 if (debug)161 System.out.format("%n%s%n", "RegressionTest0.test13");162 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();163 int int2 = stackAr0.magicFunction((double) 1);164 int int4 = stackAr0.magicFunction((double) (byte) 10);165 int int6 = stackAr0.magicFunction((double) 0);166 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();167 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);168 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);169 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);170 org.junit.Assert.assertNotNull(wildcardClass7);171 }172173 @Test174 public void test14() throws Throwable {175 if (debug)176 System.out.format("%n%s%n", "RegressionTest0.test14");177 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();178 int int2 = stackAr0.magicFunction((double) (byte) 10);179 int int4 = stackAr0.magicFunction((double) 100.0f);180 java.lang.Class<?> wildcardClass5 = stackAr0.getClass();181 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);182 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);183 org.junit.Assert.assertNotNull(wildcardClass5);184 }185186 @Test187 public void test15() throws Throwable {188 if (debug)189 System.out.format("%n%s%n", "RegressionTest0.test15");190 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();191 int int2 = stackAr0.magicFunction((double) (byte) 10);192 int int4 = stackAr0.magicFunction((double) 100.0f);193 int int6 = stackAr0.magicFunction(0.0d);194 int int8 = stackAr0.magicFunction(100.0d);195 int int10 = stackAr0.magicFunction((double) 'a');196 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();197 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);198 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);199 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);200 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);201 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);202 org.junit.Assert.assertNotNull(wildcardClass11);203 }204205 @Test206 public void test16() throws Throwable {207 if (debug)208 System.out.format("%n%s%n", "RegressionTest0.test16");209 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();210 int int2 = stackAr0.magicFunction((double) (byte) 10);211 int int4 = stackAr0.magicFunction((double) (-1L));212 java.lang.Class<?> wildcardClass5 = stackAr0.getClass();213 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);214 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 1 + "'", int4 == 1);215 org.junit.Assert.assertNotNull(wildcardClass5);216 }217218 @Test219 public void test17() throws Throwable {220 if (debug)221 System.out.format("%n%s%n", "RegressionTest0.test17");222 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();223 int int2 = stackAr0.magicFunction((double) 1);224 int int4 = stackAr0.magicFunction((double) (byte) 10);225 int int6 = stackAr0.magicFunction((double) (byte) 100);226 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();227 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);228 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);229 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);230 org.junit.Assert.assertNotNull(wildcardClass7);231 }232233 @Test234 public void test18() throws Throwable {235 if (debug)236 System.out.format("%n%s%n", "RegressionTest0.test18");237 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();238 int int2 = stackAr0.magicFunction((double) 0.0f);239 int int4 = stackAr0.magicFunction(0.0d);240 java.lang.Class<?> wildcardClass5 = stackAr0.getClass();241 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);242 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);243 org.junit.Assert.assertNotNull(wildcardClass5);244 }245246 @Test247 public void test19() throws Throwable {248 if (debug)249 System.out.format("%n%s%n", "RegressionTest0.test19");250 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();251 int int2 = stackAr0.magicFunction((double) 1);252 int int4 = stackAr0.magicFunction((double) (byte) 10);253 int int6 = stackAr0.magicFunction((double) (short) 1);254 int int8 = stackAr0.magicFunction(0.0d);255 int int10 = stackAr0.magicFunction((double) 1.0f);256 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();257 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);258 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);259 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);260 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);261 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);262 org.junit.Assert.assertNotNull(wildcardClass11);263 }264265 @Test266 public void test20() throws Throwable {267 if (debug)268 System.out.format("%n%s%n", "RegressionTest0.test20");269 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();270 int int2 = stackAr0.magicFunction((double) 0.0f);271 int int4 = stackAr0.magicFunction((double) 100.0f);272 java.lang.Class<?> wildcardClass5 = stackAr0.getClass();273 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);274 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);275 org.junit.Assert.assertNotNull(wildcardClass5);276 }277278 @Test279 public void test21() throws Throwable {280 if (debug)281 System.out.format("%n%s%n", "RegressionTest0.test21");282 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();283 int int2 = stackAr0.magicFunction((double) 1);284 int int4 = stackAr0.magicFunction((double) (byte) 10);285 int int6 = stackAr0.magicFunction((double) ' ');286 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();287 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);288 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);289 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);290 org.junit.Assert.assertNotNull(wildcardClass7);291 }292293 @Test294 public void test22() throws Throwable {295 if (debug)296 System.out.format("%n%s%n", "RegressionTest0.test22");297 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();298 int int2 = stackAr0.magicFunction((double) 1);299 int int4 = stackAr0.magicFunction((double) 0);300 int int6 = stackAr0.magicFunction((double) (-1.0f));301 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();302 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);303 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);304 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 1 + "'", int6 == 1);305 org.junit.Assert.assertNotNull(wildcardClass7);306 }307308 @Test309 public void test23() throws Throwable {310 if (debug)311 System.out.format("%n%s%n", "RegressionTest0.test23");312 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();313 int int2 = stackAr0.magicFunction((double) 1);314 int int4 = stackAr0.magicFunction((double) (byte) 10);315 int int6 = stackAr0.magicFunction((double) (short) 1);316 int int8 = stackAr0.magicFunction((double) 100L);317 java.lang.Class<?> wildcardClass9 = stackAr0.getClass();318 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);319 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);320 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);321 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);322 org.junit.Assert.assertNotNull(wildcardClass9);323 }324325 @Test326 public void test24() throws Throwable {327 if (debug)328 System.out.format("%n%s%n", "RegressionTest0.test24");329 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();330 int int2 = stackAr0.magicFunction((double) 1);331 int int4 = stackAr0.magicFunction((double) (byte) 10);332 int int6 = stackAr0.magicFunction((double) (short) 1);333 int int8 = stackAr0.magicFunction(0.0d);334 int int10 = stackAr0.magicFunction((double) 100);335 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);336 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);337 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);338 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);339 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);340 }341342 @Test343 public void test25() throws Throwable {344 if (debug)345 System.out.format("%n%s%n", "RegressionTest0.test25");346 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();347 int int2 = stackAr0.magicFunction((double) 1);348 int int4 = stackAr0.magicFunction((double) 0);349 int int6 = stackAr0.magicFunction((double) 100L);350 int int8 = stackAr0.magicFunction((double) 'a');351 java.lang.Class<?> wildcardClass9 = stackAr0.getClass();352 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);353 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);354 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);355 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);356 org.junit.Assert.assertNotNull(wildcardClass9);357 }358359 @Test360 public void test26() throws Throwable {361 if (debug)362 System.out.format("%n%s%n", "RegressionTest0.test26");363 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();364 int int2 = stackAr0.magicFunction((double) 0.0f);365 int int4 = stackAr0.magicFunction(0.0d);366 int int6 = stackAr0.magicFunction((double) (byte) -1);367 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();368 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);369 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);370 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 1 + "'", int6 == 1);371 org.junit.Assert.assertNotNull(wildcardClass7);372 }373374 @Test375 public void test27() throws Throwable {376 if (debug)377 System.out.format("%n%s%n", "RegressionTest0.test27");378 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();379 int int2 = stackAr0.magicFunction((double) (byte) 10);380 int int4 = stackAr0.magicFunction((double) 100.0f);381 int int6 = stackAr0.magicFunction(0.0d);382 int int8 = stackAr0.magicFunction(100.0d);383 int int10 = stackAr0.magicFunction((double) 'a');384 int int12 = stackAr0.magicFunction((double) 100);385 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);386 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);387 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);388 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);389 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);390 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);391 }392393 @Test394 public void test28() throws Throwable {395 if (debug)396 System.out.format("%n%s%n", "RegressionTest0.test28");397 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();398 int int2 = stackAr0.magicFunction((double) 1);399 int int4 = stackAr0.magicFunction((double) (byte) 10);400 int int6 = stackAr0.magicFunction((double) (short) 1);401 int int8 = stackAr0.magicFunction((double) (byte) 100);402 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);403 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);404 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);405 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);406 }407408 @Test409 public void test29() throws Throwable {410 if (debug)411 System.out.format("%n%s%n", "RegressionTest0.test29");412 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();413 int int2 = stackAr0.magicFunction((double) 0.0f);414 int int4 = stackAr0.magicFunction(0.0d);415 int int6 = stackAr0.magicFunction((double) 0.0f);416 int int8 = stackAr0.magicFunction(0.0d);417 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);418 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);419 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);420 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);421 }422423 @Test424 public void test30() throws Throwable {425 if (debug)426 System.out.format("%n%s%n", "RegressionTest0.test30");427 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();428 int int2 = stackAr0.magicFunction((double) 1);429 int int4 = stackAr0.magicFunction((double) (byte) 10);430 int int6 = stackAr0.magicFunction((double) (short) 1);431 int int8 = stackAr0.magicFunction((double) 100L);432 int int10 = stackAr0.magicFunction((double) (byte) -1);433 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();434 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);435 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);436 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);437 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);438 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);439 org.junit.Assert.assertNotNull(wildcardClass11);440 }441442 @Test443 public void test31() throws Throwable {444 if (debug)445 System.out.format("%n%s%n", "RegressionTest0.test31");446 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();447 int int2 = stackAr0.magicFunction((double) (byte) 100);448 int int4 = stackAr0.magicFunction((double) 1);449 java.lang.Class<?> wildcardClass5 = stackAr0.getClass();450 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);451 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);452 org.junit.Assert.assertNotNull(wildcardClass5);453 }454455 @Test456 public void test32() throws Throwable {457 if (debug)458 System.out.format("%n%s%n", "RegressionTest0.test32");459 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();460 int int2 = stackAr0.magicFunction((double) (byte) 10);461 int int4 = stackAr0.magicFunction((double) 100.0f);462 int int6 = stackAr0.magicFunction(0.0d);463 int int8 = stackAr0.magicFunction(0.0d);464 int int10 = stackAr0.magicFunction((double) (-1.0f));465 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();466 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);467 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);468 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);469 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);470 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);471 org.junit.Assert.assertNotNull(wildcardClass11);472 }473474 @Test475 public void test33() throws Throwable {476 if (debug)477 System.out.format("%n%s%n", "RegressionTest0.test33");478 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();479 int int2 = stackAr0.magicFunction((double) 1);480 int int4 = stackAr0.magicFunction((double) (byte) 10);481 int int6 = stackAr0.magicFunction((double) (byte) 100);482 int int8 = stackAr0.magicFunction(0.0d);483 int int10 = stackAr0.magicFunction((double) 'a');484 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);485 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);486 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);487 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);488 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);489 }490491 @Test492 public void test34() throws Throwable {493 if (debug)494 System.out.format("%n%s%n", "RegressionTest0.test34");495 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();496 int int2 = stackAr0.magicFunction((double) 1);497 int int4 = stackAr0.magicFunction((double) (byte) 10);498 int int6 = stackAr0.magicFunction((double) (short) 1);499 int int8 = stackAr0.magicFunction(0.0d);500 java.lang.Class<?> wildcardClass9 = stackAr0.getClass();501 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);502 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);503 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);504 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);505 org.junit.Assert.assertNotNull(wildcardClass9);506 }507508 @Test509 public void test35() throws Throwable {510 if (debug)511 System.out.format("%n%s%n", "RegressionTest0.test35");512 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();513 int int2 = stackAr0.magicFunction((double) 0.0f);514 int int4 = stackAr0.magicFunction(0.0d);515 int int6 = stackAr0.magicFunction((double) (byte) -1);516 int int8 = stackAr0.magicFunction((double) (byte) 1);517 java.lang.Class<?> wildcardClass9 = stackAr0.getClass();518 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);519 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);520 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 1 + "'", int6 == 1);521 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);522 org.junit.Assert.assertNotNull(wildcardClass9);523 }524525 @Test526 public void test36() throws Throwable {527 if (debug)528 System.out.format("%n%s%n", "RegressionTest0.test36");529 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();530 int int2 = stackAr0.magicFunction((double) (byte) 10);531 int int4 = stackAr0.magicFunction((double) 100.0f);532 int int6 = stackAr0.magicFunction(0.0d);533 int int8 = stackAr0.magicFunction((double) (byte) 1);534 int int10 = stackAr0.magicFunction((double) (short) -1);535 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();536 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);537 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);538 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);539 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);540 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);541 org.junit.Assert.assertNotNull(wildcardClass11);542 }543544 @Test545 public void test37() throws Throwable {546 if (debug)547 System.out.format("%n%s%n", "RegressionTest0.test37");548 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();549 int int2 = stackAr0.magicFunction((double) 1);550 int int4 = stackAr0.magicFunction((double) '4');551 int int6 = stackAr0.magicFunction((double) (-1.0f));552 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();553 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);554 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);555 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 1 + "'", int6 == 1);556 org.junit.Assert.assertNotNull(wildcardClass7);557 }558559 @Test560 public void test38() throws Throwable {561 if (debug)562 System.out.format("%n%s%n", "RegressionTest0.test38");563 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();564 int int2 = stackAr0.magicFunction((double) 1);565 int int4 = stackAr0.magicFunction((double) (byte) 10);566 int int6 = stackAr0.magicFunction((double) (short) 1);567 int int8 = stackAr0.magicFunction((double) 100L);568 int int10 = stackAr0.magicFunction((double) 100);569 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();570 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);571 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);572 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);573 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);574 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);575 org.junit.Assert.assertNotNull(wildcardClass11);576 }577578 @Test579 public void test39() throws Throwable {580 if (debug)581 System.out.format("%n%s%n", "RegressionTest0.test39");582 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();583 int int2 = stackAr0.magicFunction((double) (byte) 10);584 int int4 = stackAr0.magicFunction((double) 100.0f);585 int int6 = stackAr0.magicFunction(0.0d);586 int int8 = stackAr0.magicFunction(0.0d);587 int int10 = stackAr0.magicFunction((double) (byte) 1);588 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();589 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);590 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);591 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);592 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);593 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);594 org.junit.Assert.assertNotNull(wildcardClass11);595 }596597 @Test598 public void test40() throws Throwable {599 if (debug)600 System.out.format("%n%s%n", "RegressionTest0.test40");601 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();602 int int2 = stackAr0.magicFunction((double) (byte) 10);603 int int4 = stackAr0.magicFunction((double) 100.0f);604 int int6 = stackAr0.magicFunction(0.0d);605 int int8 = stackAr0.magicFunction(100.0d);606 int int10 = stackAr0.magicFunction((double) 'a');607 int int12 = stackAr0.magicFunction((double) 'a');608 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);609 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);610 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);611 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);612 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);613 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);614 }615616 @Test617 public void test41() throws Throwable {618 if (debug)619 System.out.format("%n%s%n", "RegressionTest0.test41");620 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();621 int int2 = stackAr0.magicFunction((double) (byte) 10);622 int int4 = stackAr0.magicFunction((double) 100.0f);623 int int6 = stackAr0.magicFunction(0.0d);624 int int8 = stackAr0.magicFunction(100.0d);625 int int10 = stackAr0.magicFunction((-1.0d));626 int int12 = stackAr0.magicFunction((double) (short) 10);627 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);628 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);629 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);630 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);631 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);632 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);633 }634635 @Test636 public void test42() throws Throwable {637 if (debug)638 System.out.format("%n%s%n", "RegressionTest0.test42");639 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();640 int int2 = stackAr0.magicFunction((double) 1);641 int int4 = stackAr0.magicFunction((double) 0);642 int int6 = stackAr0.magicFunction((double) (byte) -1);643 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);644 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);645 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 1 + "'", int6 == 1);646 }647648 @Test649 public void test43() throws Throwable {650 if (debug)651 System.out.format("%n%s%n", "RegressionTest0.test43");652 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();653 int int2 = stackAr0.magicFunction((double) 1);654 int int4 = stackAr0.magicFunction((double) 0);655 int int6 = stackAr0.magicFunction((double) 100L);656 int int8 = stackAr0.magicFunction((double) 'a');657 int int10 = stackAr0.magicFunction((double) 100.0f);658 int int12 = stackAr0.magicFunction((double) ' ');659 java.lang.Class<?> wildcardClass13 = stackAr0.getClass();660 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);661 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);662 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);663 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);664 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);665 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);666 org.junit.Assert.assertNotNull(wildcardClass13);667 }668669 @Test670 public void test44() throws Throwable {671 if (debug)672 System.out.format("%n%s%n", "RegressionTest0.test44");673 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();674 int int2 = stackAr0.magicFunction((double) 1);675 int int4 = stackAr0.magicFunction((double) (byte) 10);676 int int6 = stackAr0.magicFunction((double) (short) 1);677 int int8 = stackAr0.magicFunction((double) (short) -1);678 int int10 = stackAr0.magicFunction((double) (byte) 10);679 int int12 = stackAr0.magicFunction((-1.0d));680 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);681 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);682 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);683 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 1 + "'", int8 == 1);684 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);685 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 1 + "'", int12 == 1);686 }687688 @Test689 public void test45() throws Throwable {690 if (debug)691 System.out.format("%n%s%n", "RegressionTest0.test45");692 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();693 int int2 = stackAr0.magicFunction((double) (byte) 10);694 int int4 = stackAr0.magicFunction((double) (-1L));695 int int6 = stackAr0.magicFunction(0.0d);696 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();697 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);698 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 1 + "'", int4 == 1);699 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);700 org.junit.Assert.assertNotNull(wildcardClass7);701 }702703 @Test704 public void test46() throws Throwable {705 if (debug)706 System.out.format("%n%s%n", "RegressionTest0.test46");707 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();708 int int2 = stackAr0.magicFunction((double) 1);709 int int4 = stackAr0.magicFunction((double) (byte) 10);710 int int6 = stackAr0.magicFunction((double) ' ');711 int int8 = stackAr0.magicFunction((double) 10.0f);712 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);713 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);714 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);715 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);716 }717718 @Test719 public void test47() throws Throwable {720 if (debug)721 System.out.format("%n%s%n", "RegressionTest0.test47");722 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();723 int int2 = stackAr0.magicFunction((double) 0.0f);724 int int4 = stackAr0.magicFunction((double) (byte) 0);725 java.lang.Class<?> wildcardClass5 = stackAr0.getClass();726 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);727 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);728 org.junit.Assert.assertNotNull(wildcardClass5);729 }730731 @Test732 public void test48() throws Throwable {733 if (debug)734 System.out.format("%n%s%n", "RegressionTest0.test48");735 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();736 int int2 = stackAr0.magicFunction((double) (byte) 10);737 int int4 = stackAr0.magicFunction((double) 100.0f);738 int int6 = stackAr0.magicFunction(0.0d);739 int int8 = stackAr0.magicFunction(100.0d);740 int int10 = stackAr0.magicFunction((-1.0d));741 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();742 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);743 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);744 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);745 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);746 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);747 org.junit.Assert.assertNotNull(wildcardClass11);748 }749750 @Test751 public void test49() throws Throwable {752 if (debug)753 System.out.format("%n%s%n", "RegressionTest0.test49");754 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();755 int int2 = stackAr0.magicFunction((double) (byte) 10);756 int int4 = stackAr0.magicFunction((double) 100.0f);757 int int6 = stackAr0.magicFunction(0.0d);758 int int8 = stackAr0.magicFunction((double) (byte) 1);759 int int10 = stackAr0.magicFunction((double) 100.0f);760 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);761 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);762 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);763 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);764 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);765 }766767 @Test768 public void test50() throws Throwable {769 if (debug)770 System.out.format("%n%s%n", "RegressionTest0.test50");771 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();772 int int2 = stackAr0.magicFunction((double) (byte) 10);773 int int4 = stackAr0.magicFunction((double) 100.0f);774 int int6 = stackAr0.magicFunction(0.0d);775 int int8 = stackAr0.magicFunction(100.0d);776 int int10 = stackAr0.magicFunction((-1.0d));777 int int12 = stackAr0.magicFunction((double) (short) 0);778 java.lang.Class<?> wildcardClass13 = stackAr0.getClass();779 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);780 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);781 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);782 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);783 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);784 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);785 org.junit.Assert.assertNotNull(wildcardClass13);786 }787788 @Test789 public void test51() throws Throwable {790 if (debug)791 System.out.format("%n%s%n", "RegressionTest0.test51");792 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();793 int int2 = stackAr0.magicFunction((double) (byte) 10);794 int int4 = stackAr0.magicFunction((double) 100.0f);795 int int6 = stackAr0.magicFunction(0.0d);796 int int8 = stackAr0.magicFunction(100.0d);797 int int10 = stackAr0.magicFunction((double) 'a');798 int int12 = stackAr0.magicFunction(1.0d);799 int int14 = stackAr0.magicFunction((double) '#');800 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);801 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);802 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);803 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);804 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);805 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);806 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 0 + "'", int14 == 0);807 }808809 @Test810 public void test52() throws Throwable {811 if (debug)812 System.out.format("%n%s%n", "RegressionTest0.test52");813 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();814 int int2 = stackAr0.magicFunction((double) 0.0f);815 int int4 = stackAr0.magicFunction((double) 100.0f);816 int int6 = stackAr0.magicFunction((double) 100);817 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);818 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);819 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);820 }821822 @Test823 public void test53() throws Throwable {824 if (debug)825 System.out.format("%n%s%n", "RegressionTest0.test53");826 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();827 int int2 = stackAr0.magicFunction((double) 0.0f);828 int int4 = stackAr0.magicFunction(0.0d);829 int int6 = stackAr0.magicFunction((double) 100);830 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();831 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);832 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);833 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);834 org.junit.Assert.assertNotNull(wildcardClass7);835 }836837 @Test838 public void test54() throws Throwable {839 if (debug)840 System.out.format("%n%s%n", "RegressionTest0.test54");841 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();842 int int2 = stackAr0.magicFunction((double) 1);843 int int4 = stackAr0.magicFunction((double) (byte) 10);844 int int6 = stackAr0.magicFunction((double) 1);845 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);846 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);847 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);848 }849850 @Test851 public void test55() throws Throwable {852 if (debug)853 System.out.format("%n%s%n", "RegressionTest0.test55");854 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();855 int int2 = stackAr0.magicFunction((double) (byte) 10);856 int int4 = stackAr0.magicFunction((double) 100.0f);857 int int6 = stackAr0.magicFunction(0.0d);858 int int8 = stackAr0.magicFunction((double) 1L);859 java.lang.Class<?> wildcardClass9 = stackAr0.getClass();860 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);861 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);862 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);863 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);864 org.junit.Assert.assertNotNull(wildcardClass9);865 }866867 @Test868 public void test56() throws Throwable {869 if (debug)870 System.out.format("%n%s%n", "RegressionTest0.test56");871 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();872 int int2 = stackAr0.magicFunction((double) (byte) 10);873 int int4 = stackAr0.magicFunction((double) 1);874 int int6 = stackAr0.magicFunction((double) (short) 1);875 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);876 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);877 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);878 }879880 @Test881 public void test57() throws Throwable {882 if (debug)883 System.out.format("%n%s%n", "RegressionTest0.test57");884 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();885 int int2 = stackAr0.magicFunction((double) (byte) 10);886 int int4 = stackAr0.magicFunction((double) 100.0f);887 int int6 = stackAr0.magicFunction(0.0d);888 int int8 = stackAr0.magicFunction(100.0d);889 int int10 = stackAr0.magicFunction((double) 'a');890 int int12 = stackAr0.magicFunction(0.0d);891 java.lang.Class<?> wildcardClass13 = stackAr0.getClass();892 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);893 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);894 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);895 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);896 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);897 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);898 org.junit.Assert.assertNotNull(wildcardClass13);899 }900901 @Test902 public void test58() throws Throwable {903 if (debug)904 System.out.format("%n%s%n", "RegressionTest0.test58");905 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();906 int int2 = stackAr0.magicFunction((double) 1);907 int int4 = stackAr0.magicFunction((double) 0);908 int int6 = stackAr0.magicFunction((double) 100L);909 int int8 = stackAr0.magicFunction((double) 'a');910 int int10 = stackAr0.magicFunction((double) 0L);911 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);912 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);913 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);914 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);915 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);916 }917918 @Test919 public void test59() throws Throwable {920 if (debug)921 System.out.format("%n%s%n", "RegressionTest0.test59");922 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();923 int int2 = stackAr0.magicFunction((double) (byte) 100);924 int int4 = stackAr0.magicFunction((double) (byte) 100);925 java.lang.Class<?> wildcardClass5 = stackAr0.getClass();926 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);927 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);928 org.junit.Assert.assertNotNull(wildcardClass5);929 }930931 @Test932 public void test60() throws Throwable {933 if (debug)934 System.out.format("%n%s%n", "RegressionTest0.test60");935 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();936 int int2 = stackAr0.magicFunction((double) 1);937 int int4 = stackAr0.magicFunction((double) (byte) 10);938 int int6 = stackAr0.magicFunction((double) (short) 1);939 int int8 = stackAr0.magicFunction((double) 100L);940 int int10 = stackAr0.magicFunction(1.0d);941 int int12 = stackAr0.magicFunction((double) (byte) 0);942 int int14 = stackAr0.magicFunction((double) (short) -1);943 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);944 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);945 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);946 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);947 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);948 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);949 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 1 + "'", int14 == 1);950 }951952 @Test953 public void test61() throws Throwable {954 if (debug)955 System.out.format("%n%s%n", "RegressionTest0.test61");956 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();957 int int2 = stackAr0.magicFunction((double) (byte) 100);958 int int4 = stackAr0.magicFunction((double) (byte) 100);959 int int6 = stackAr0.magicFunction((double) (byte) -1);960 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);961 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);962 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 1 + "'", int6 == 1);963 }964965 @Test966 public void test62() throws Throwable {967 if (debug)968 System.out.format("%n%s%n", "RegressionTest0.test62");969 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();970 int int2 = stackAr0.magicFunction((double) (byte) 10);971 int int4 = stackAr0.magicFunction((double) 100.0f);972 int int6 = stackAr0.magicFunction(0.0d);973 int int8 = stackAr0.magicFunction(0.0d);974 int int10 = stackAr0.magicFunction((double) '#');975 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);976 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);977 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);978 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);979 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);980 }981982 @Test983 public void test63() throws Throwable {984 if (debug)985 System.out.format("%n%s%n", "RegressionTest0.test63");986 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();987 int int2 = stackAr0.magicFunction((double) 1);988 int int4 = stackAr0.magicFunction((double) (byte) 10);989 int int6 = stackAr0.magicFunction((double) (byte) 100);990 int int8 = stackAr0.magicFunction(0.0d);991 int int10 = stackAr0.magicFunction((double) (short) 10);992 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);993 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);994 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);995 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);996 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);997 }998999 @Test1000 public void test64() throws Throwable {1001 if (debug)1002 System.out.format("%n%s%n", "RegressionTest0.test64");1003 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1004 int int2 = stackAr0.magicFunction((double) (byte) 10);1005 int int4 = stackAr0.magicFunction((double) 100.0f);1006 int int6 = stackAr0.magicFunction(0.0d);1007 int int8 = stackAr0.magicFunction(0.0d);1008 int int10 = stackAr0.magicFunction((double) (short) 100);1009 int int12 = stackAr0.magicFunction((double) (byte) 100);1010 int int14 = stackAr0.magicFunction((double) 0L);1011 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1012 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1013 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1014 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1015 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1016 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1017 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 0 + "'", int14 == 0);1018 }10191020 @Test1021 public void test65() throws Throwable {1022 if (debug)1023 System.out.format("%n%s%n", "RegressionTest0.test65");1024 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1025 int int2 = stackAr0.magicFunction((double) 1);1026 int int4 = stackAr0.magicFunction((double) (byte) 10);1027 int int6 = stackAr0.magicFunction((double) (short) 1);1028 int int8 = stackAr0.magicFunction((double) (short) -1);1029 int int10 = stackAr0.magicFunction((double) (byte) 10);1030 int int12 = stackAr0.magicFunction((double) (-1.0f));1031 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1032 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1033 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1034 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 1 + "'", int8 == 1);1035 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1036 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 1 + "'", int12 == 1);1037 }10381039 @Test1040 public void test66() throws Throwable {1041 if (debug)1042 System.out.format("%n%s%n", "RegressionTest0.test66");1043 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1044 int int2 = stackAr0.magicFunction((double) 1);1045 int int4 = stackAr0.magicFunction((double) 0);1046 int int6 = stackAr0.magicFunction((double) 100L);1047 java.lang.Class<?> wildcardClass7 = stackAr0.getClass();1048 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1049 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1050 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1051 org.junit.Assert.assertNotNull(wildcardClass7);1052 }10531054 @Test1055 public void test67() throws Throwable {1056 if (debug)1057 System.out.format("%n%s%n", "RegressionTest0.test67");1058 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1059 int int2 = stackAr0.magicFunction((double) (byte) 10);1060 int int4 = stackAr0.magicFunction((double) 100.0f);1061 int int6 = stackAr0.magicFunction(0.0d);1062 int int8 = stackAr0.magicFunction(100.0d);1063 int int10 = stackAr0.magicFunction((-1.0d));1064 int int12 = stackAr0.magicFunction((double) (short) 0);1065 int int14 = stackAr0.magicFunction((double) '#');1066 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1067 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1068 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1069 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1070 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);1071 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1072 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 0 + "'", int14 == 0);1073 }10741075 @Test1076 public void test68() throws Throwable {1077 if (debug)1078 System.out.format("%n%s%n", "RegressionTest0.test68");1079 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1080 int int2 = stackAr0.magicFunction((double) (byte) 10);1081 int int4 = stackAr0.magicFunction((double) 100.0f);1082 int int6 = stackAr0.magicFunction(0.0d);1083 int int8 = stackAr0.magicFunction(0.0d);1084 int int10 = stackAr0.magicFunction((double) 10.0f);1085 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();1086 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1087 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1088 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1089 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1090 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1091 org.junit.Assert.assertNotNull(wildcardClass11);1092 }10931094 @Test1095 public void test69() throws Throwable {1096 if (debug)1097 System.out.format("%n%s%n", "RegressionTest0.test69");1098 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1099 int int2 = stackAr0.magicFunction((double) 0.0f);1100 int int4 = stackAr0.magicFunction(0.0d);1101 int int6 = stackAr0.magicFunction((double) 0.0f);1102 int int8 = stackAr0.magicFunction(10.0d);1103 java.lang.Class<?> wildcardClass9 = stackAr0.getClass();1104 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1105 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1106 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1107 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1108 org.junit.Assert.assertNotNull(wildcardClass9);1109 }11101111 @Test1112 public void test70() throws Throwable {1113 if (debug)1114 System.out.format("%n%s%n", "RegressionTest0.test70");1115 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1116 int int2 = stackAr0.magicFunction((double) 0.0f);1117 int int4 = stackAr0.magicFunction(0.0d);1118 int int6 = stackAr0.magicFunction((double) 0.0f);1119 int int8 = stackAr0.magicFunction(10.0d);1120 int int10 = stackAr0.magicFunction((double) 0.0f);1121 int int12 = stackAr0.magicFunction((double) (short) 10);1122 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1123 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1124 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1125 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1126 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1127 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1128 }11291130 @Test1131 public void test71() throws Throwable {1132 if (debug)1133 System.out.format("%n%s%n", "RegressionTest0.test71");1134 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1135 int int2 = stackAr0.magicFunction((double) 1);1136 int int4 = stackAr0.magicFunction((double) (byte) 10);1137 int int6 = stackAr0.magicFunction((double) (short) 1);1138 int int8 = stackAr0.magicFunction((double) 100L);1139 int int10 = stackAr0.magicFunction((double) (byte) -1);1140 int int12 = stackAr0.magicFunction((double) (short) 0);1141 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1142 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1143 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1144 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1145 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);1146 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1147 }11481149 @Test1150 public void test72() throws Throwable {1151 if (debug)1152 System.out.format("%n%s%n", "RegressionTest0.test72");1153 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1154 int int2 = stackAr0.magicFunction((double) (byte) 10);1155 int int4 = stackAr0.magicFunction((double) 100.0f);1156 int int6 = stackAr0.magicFunction(0.0d);1157 int int8 = stackAr0.magicFunction(0.0d);1158 int int10 = stackAr0.magicFunction((double) (-1.0f));1159 int int12 = stackAr0.magicFunction((double) (short) 0);1160 java.lang.Class<?> wildcardClass13 = stackAr0.getClass();1161 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1162 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1163 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1164 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1165 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);1166 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1167 org.junit.Assert.assertNotNull(wildcardClass13);1168 }11691170 @Test1171 public void test73() throws Throwable {1172 if (debug)1173 System.out.format("%n%s%n", "RegressionTest0.test73");1174 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1175 int int2 = stackAr0.magicFunction((double) (byte) 10);1176 int int4 = stackAr0.magicFunction((double) 100.0f);1177 int int6 = stackAr0.magicFunction(0.0d);1178 int int8 = stackAr0.magicFunction(0.0d);1179 int int10 = stackAr0.magicFunction((double) (short) 100);1180 int int12 = stackAr0.magicFunction((double) (byte) 100);1181 int int14 = stackAr0.magicFunction((double) (byte) 1);1182 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1183 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1184 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1185 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1186 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1187 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1188 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 0 + "'", int14 == 0);1189 }11901191 @Test1192 public void test74() throws Throwable {1193 if (debug)1194 System.out.format("%n%s%n", "RegressionTest0.test74");1195 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1196 int int2 = stackAr0.magicFunction((double) (byte) 10);1197 int int4 = stackAr0.magicFunction((double) 100.0f);1198 int int6 = stackAr0.magicFunction((double) 100);1199 int int8 = stackAr0.magicFunction(10.0d);1200 int int10 = stackAr0.magicFunction((double) (short) -1);1201 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1202 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1203 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1204 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1205 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);1206 }12071208 @Test1209 public void test75() throws Throwable {1210 if (debug)1211 System.out.format("%n%s%n", "RegressionTest0.test75");1212 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1213 int int2 = stackAr0.magicFunction((double) (byte) 10);1214 int int4 = stackAr0.magicFunction((double) 100.0f);1215 int int6 = stackAr0.magicFunction((double) 100);1216 int int8 = stackAr0.magicFunction(10.0d);1217 int int10 = stackAr0.magicFunction(100.0d);1218 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();1219 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1220 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1221 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1222 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1223 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1224 org.junit.Assert.assertNotNull(wildcardClass11);1225 }12261227 @Test1228 public void test76() throws Throwable {1229 if (debug)1230 System.out.format("%n%s%n", "RegressionTest0.test76");1231 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1232 int int2 = stackAr0.magicFunction((double) (-1.0f));1233 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 1 + "'", int2 == 1);1234 }12351236 @Test1237 public void test77() throws Throwable {1238 if (debug)1239 System.out.format("%n%s%n", "RegressionTest0.test77");1240 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1241 int int2 = stackAr0.magicFunction((double) (byte) 10);1242 int int4 = stackAr0.magicFunction((double) 100.0f);1243 int int6 = stackAr0.magicFunction(0.0d);1244 int int8 = stackAr0.magicFunction(0.0d);1245 int int10 = stackAr0.magicFunction((double) (short) 100);1246 int int12 = stackAr0.magicFunction((double) (byte) 100);1247 int int14 = stackAr0.magicFunction((double) (-1));1248 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1249 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1250 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1251 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1252 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1253 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1254 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 1 + "'", int14 == 1);1255 }12561257 @Test1258 public void test78() throws Throwable {1259 if (debug)1260 System.out.format("%n%s%n", "RegressionTest0.test78");1261 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1262 int int2 = stackAr0.magicFunction((double) 1);1263 int int4 = stackAr0.magicFunction((double) 0);1264 int int6 = stackAr0.magicFunction((double) (-1.0f));1265 int int8 = stackAr0.magicFunction((double) 0.0f);1266 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1267 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1268 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 1 + "'", int6 == 1);1269 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1270 }12711272 @Test1273 public void test79() throws Throwable {1274 if (debug)1275 System.out.format("%n%s%n", "RegressionTest0.test79");1276 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1277 int int2 = stackAr0.magicFunction((double) (byte) 10);1278 int int4 = stackAr0.magicFunction((double) 100.0f);1279 int int6 = stackAr0.magicFunction(0.0d);1280 int int8 = stackAr0.magicFunction(0.0d);1281 int int10 = stackAr0.magicFunction((double) (short) 100);1282 int int12 = stackAr0.magicFunction((double) (byte) 100);1283 int int14 = stackAr0.magicFunction((double) (byte) -1);1284 java.lang.Class<?> wildcardClass15 = stackAr0.getClass();1285 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1286 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1287 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1288 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1289 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1290 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1291 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 1 + "'", int14 == 1);1292 org.junit.Assert.assertNotNull(wildcardClass15);1293 }12941295 @Test1296 public void test80() throws Throwable {1297 if (debug)1298 System.out.format("%n%s%n", "RegressionTest0.test80");1299 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1300 int int2 = stackAr0.magicFunction((double) 0.0f);1301 int int4 = stackAr0.magicFunction((double) 100.0f);1302 int int6 = stackAr0.magicFunction((double) (-1L));1303 int int8 = stackAr0.magicFunction((double) (byte) 1);1304 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1305 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1306 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 1 + "'", int6 == 1);1307 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1308 }13091310 @Test1311 public void test81() throws Throwable {1312 if (debug)1313 System.out.format("%n%s%n", "RegressionTest0.test81");1314 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1315 int int2 = stackAr0.magicFunction((double) (byte) 10);1316 int int4 = stackAr0.magicFunction((double) 100.0f);1317 int int6 = stackAr0.magicFunction(0.0d);1318 int int8 = stackAr0.magicFunction(100.0d);1319 int int10 = stackAr0.magicFunction((double) 'a');1320 int int12 = stackAr0.magicFunction(1.0d);1321 int int14 = stackAr0.magicFunction((double) 0.0f);1322 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1323 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1324 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1325 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1326 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1327 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1328 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 0 + "'", int14 == 0);1329 }13301331 @Test1332 public void test82() throws Throwable {1333 if (debug)1334 System.out.format("%n%s%n", "RegressionTest0.test82");1335 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1336 int int2 = stackAr0.magicFunction((double) (byte) 10);1337 int int4 = stackAr0.magicFunction((double) 100.0f);1338 int int6 = stackAr0.magicFunction(0.0d);1339 int int8 = stackAr0.magicFunction(100.0d);1340 int int10 = stackAr0.magicFunction((double) 'a');1341 int int12 = stackAr0.magicFunction((double) (short) 1);1342 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1343 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1344 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1345 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1346 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1347 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1348 }13491350 @Test1351 public void test83() throws Throwable {1352 if (debug)1353 System.out.format("%n%s%n", "RegressionTest0.test83");1354 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1355 int int2 = stackAr0.magicFunction((double) 1);1356 int int4 = stackAr0.magicFunction((double) (byte) 10);1357 int int6 = stackAr0.magicFunction((double) (byte) 100);1358 int int8 = stackAr0.magicFunction((double) 0L);1359 int int10 = stackAr0.magicFunction((double) ' ');1360 int int12 = stackAr0.magicFunction((double) (-1.0f));1361 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1362 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1363 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1364 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1365 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1366 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 1 + "'", int12 == 1);1367 }13681369 @Test1370 public void test84() throws Throwable {1371 if (debug)1372 System.out.format("%n%s%n", "RegressionTest0.test84");1373 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1374 int int2 = stackAr0.magicFunction((double) 1);1375 int int4 = stackAr0.magicFunction((double) 0);1376 int int6 = stackAr0.magicFunction((double) 100L);1377 int int8 = stackAr0.magicFunction((double) 'a');1378 int int10 = stackAr0.magicFunction((double) 100.0f);1379 int int12 = stackAr0.magicFunction((double) 0.0f);1380 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1381 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1382 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1383 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1384 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1385 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1386 }13871388 @Test1389 public void test85() throws Throwable {1390 if (debug)1391 System.out.format("%n%s%n", "RegressionTest0.test85");1392 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1393 int int2 = stackAr0.magicFunction((-1.0d));1394 int int4 = stackAr0.magicFunction(0.0d);1395 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 1 + "'", int2 == 1);1396 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1397 }13981399 @Test1400 public void test86() throws Throwable {1401 if (debug)1402 System.out.format("%n%s%n", "RegressionTest0.test86");1403 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1404 int int2 = stackAr0.magicFunction((double) (byte) 10);1405 int int4 = stackAr0.magicFunction((double) 100.0f);1406 int int6 = stackAr0.magicFunction(0.0d);1407 int int8 = stackAr0.magicFunction(0.0d);1408 int int10 = stackAr0.magicFunction((double) (-1.0f));1409 int int12 = stackAr0.magicFunction((double) (short) 0);1410 int int14 = stackAr0.magicFunction((double) 1L);1411 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1412 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1413 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1414 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1415 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 1 + "'", int10 == 1);1416 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1417 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 0 + "'", int14 == 0);1418 }14191420 @Test1421 public void test87() throws Throwable {1422 if (debug)1423 System.out.format("%n%s%n", "RegressionTest0.test87");1424 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1425 int int2 = stackAr0.magicFunction((double) (byte) 10);1426 int int4 = stackAr0.magicFunction((double) 100.0f);1427 int int6 = stackAr0.magicFunction(0.0d);1428 int int8 = stackAr0.magicFunction(0.0d);1429 int int10 = stackAr0.magicFunction((double) (short) 100);1430 int int12 = stackAr0.magicFunction((double) (byte) 100);1431 java.lang.Class<?> wildcardClass13 = stackAr0.getClass();1432 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1433 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1434 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1435 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1436 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1437 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1438 org.junit.Assert.assertNotNull(wildcardClass13);1439 }14401441 @Test1442 public void test88() throws Throwable {1443 if (debug)1444 System.out.format("%n%s%n", "RegressionTest0.test88");1445 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1446 int int2 = stackAr0.magicFunction((double) 1);1447 int int4 = stackAr0.magicFunction((double) '4');1448 int int6 = stackAr0.magicFunction((double) 1);1449 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1450 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1451 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1452 }14531454 @Test1455 public void test89() throws Throwable {1456 if (debug)1457 System.out.format("%n%s%n", "RegressionTest0.test89");1458 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1459 int int2 = stackAr0.magicFunction((double) 1);1460 int int4 = stackAr0.magicFunction((double) (byte) 10);1461 int int6 = stackAr0.magicFunction((double) (short) 1);1462 int int8 = stackAr0.magicFunction((double) 100L);1463 int int10 = stackAr0.magicFunction((double) 10L);1464 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1465 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1466 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1467 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1468 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1469 }14701471 @Test1472 public void test90() throws Throwable {1473 if (debug)1474 System.out.format("%n%s%n", "RegressionTest0.test90");1475 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1476 int int2 = stackAr0.magicFunction((double) 1);1477 int int4 = stackAr0.magicFunction((double) (byte) 10);1478 int int6 = stackAr0.magicFunction((double) (byte) 100);1479 int int8 = stackAr0.magicFunction((double) (-1.0f));1480 int int10 = stackAr0.magicFunction(0.0d);1481 int int12 = stackAr0.magicFunction((double) 100L);1482 java.lang.Class<?> wildcardClass13 = stackAr0.getClass();1483 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1484 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1485 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1486 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 1 + "'", int8 == 1);1487 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1488 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1489 org.junit.Assert.assertNotNull(wildcardClass13);1490 }14911492 @Test1493 public void test91() throws Throwable {1494 if (debug)1495 System.out.format("%n%s%n", "RegressionTest0.test91");1496 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1497 int int2 = stackAr0.magicFunction((double) 1);1498 int int4 = stackAr0.magicFunction((double) (byte) 10);1499 int int6 = stackAr0.magicFunction((double) (byte) 100);1500 int int8 = stackAr0.magicFunction(0.0d);1501 int int10 = stackAr0.magicFunction((double) 1L);1502 java.lang.Class<?> wildcardClass11 = stackAr0.getClass();1503 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1504 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1505 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1506 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1507 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1508 org.junit.Assert.assertNotNull(wildcardClass11);1509 }15101511 @Test1512 public void test92() throws Throwable {1513 if (debug)1514 System.out.format("%n%s%n", "RegressionTest0.test92");1515 org.autotest.StackAr stackAr0 = new org.autotest.StackAr();1516 int int2 = stackAr0.magicFunction((double) (byte) 10);1517 int int4 = stackAr0.magicFunction((double) 100.0f);1518 int int6 = stackAr0.magicFunction(0.0d);1519 int int8 = stackAr0.magicFunction(0.0d);1520 int int10 = stackAr0.magicFunction((double) (short) 100);1521 int int12 = stackAr0.magicFunction((double) (byte) 100);1522 int int14 = stackAr0.magicFunction(1.0d);1523 org.junit.Assert.assertTrue("'" + int2 + "' != '" + 0 + "'", int2 == 0);1524 org.junit.Assert.assertTrue("'" + int4 + "' != '" + 0 + "'", int4 == 0);1525 org.junit.Assert.assertTrue("'" + int6 + "' != '" + 0 + "'", int6 == 0);1526 org.junit.Assert.assertTrue("'" + int8 + "' != '" + 0 + "'", int8 == 0);1527 org.junit.Assert.assertTrue("'" + int10 + "' != '" + 0 + "'", int10 == 0);1528 org.junit.Assert.assertTrue("'" + int12 + "' != '" + 0 + "'", int12 == 0);1529 org.junit.Assert.assertTrue("'" + int14 + "' != '" + 0 + "'", int14 == 0);1530 }1531}1532 ...

Full Screen

Full Screen

Source:StringOpsTest.java Github

copy

Full Screen

...8{9 @org.junit.Test10 public void testBool()11 {12 org.junit.Assert.assertTrue(StringOps.boolAsString(true).equalsIgnoreCase("y"));13 org.junit.Assert.assertTrue(StringOps.boolAsString(false).equalsIgnoreCase("n"));1415 org.junit.Assert.assertFalse(StringOps.stringAsBool(null));16 org.junit.Assert.assertFalse(StringOps.stringAsBool(""));17 org.junit.Assert.assertFalse(StringOps.stringAsBool("rubbish"));1819 org.junit.Assert.assertTrue(StringOps.stringAsBool("y"));20 org.junit.Assert.assertTrue(StringOps.stringAsBool("Y"));21 org.junit.Assert.assertTrue(StringOps.stringAsBool("yEs"));22 org.junit.Assert.assertTrue(StringOps.stringAsBool("true"));23 org.junit.Assert.assertTrue(StringOps.stringAsBool("t"));24 org.junit.Assert.assertTrue(StringOps.stringAsBool("T"));25 org.junit.Assert.assertTrue(StringOps.stringAsBool("oN"));26 org.junit.Assert.assertTrue(StringOps.stringAsBool("1"));27 }2829 @org.junit.Test30 public void testSameSeq()31 {32 String str1 = "Value1";33 String str2 = "Value2";34 ByteChars bc1 = new ByteChars("Value1");35 ByteChars bc2 = new ByteChars("Value2a");36 org.junit.Assert.assertTrue("Null vs Null", StringOps.sameSeq(null, null));37 org.junit.Assert.assertTrue(StringOps.sameSeq(null, ""));38 org.junit.Assert.assertTrue(StringOps.sameSeq("", null));39 org.junit.Assert.assertFalse("String vs Null", StringOps.sameSeq(str1, null));40 org.junit.Assert.assertFalse("Null vs ByteChars", StringOps.sameSeq(null, bc1));41 org.junit.Assert.assertTrue("Equal Strings", StringOps.sameSeq(str1, new String(str1)));42 org.junit.Assert.assertTrue("Identical Strings", StringOps.sameSeq(str1, str1));43 org.junit.Assert.assertFalse("Variant Strings", StringOps.sameSeq(str1, str2));44 org.junit.Assert.assertTrue("Equal ByteChars", StringOps.sameSeq(bc1, new ByteChars(bc1)));45 org.junit.Assert.assertTrue("Identical ByteChars", StringOps.sameSeq(bc1, bc1));46 org.junit.Assert.assertFalse("Variant ByteChars", StringOps.sameSeq(bc1, bc2));47 org.junit.Assert.assertTrue("Equal CharSeqs", StringOps.sameSeq(str1, bc1));48 org.junit.Assert.assertFalse("Variant-Length CharSeqs", StringOps.sameSeq(str1, bc2));49 org.junit.Assert.assertFalse("Variant-Length CharSeqs reversed", StringOps.sameSeq(bc2, str1));50 org.junit.Assert.assertFalse("Variant CharSeqs", StringOps.sameSeq(str2, bc1));51 org.junit.Assert.assertFalse("Variant CharSeqs reversed", StringOps.sameSeq(bc1, str2));52 org.junit.Assert.assertFalse(StringOps.sameSeq("AbC", "abc"));53 org.junit.Assert.assertTrue(StringOps.sameSeq("aBc", "aBc"));54 org.junit.Assert.assertTrue(StringOps.sameSeq("AbC", 0, 0, null));55 org.junit.Assert.assertFalse(StringOps.sameSeq("AbC", 0, 1, null));5657 StringBuilder sb1 = new StringBuilder("abc");58 StringBuilder sb2 = new StringBuilder(sb1);59 org.junit.Assert.assertTrue("Equal StringBuilders", StringOps.sameSeq(sb1, sb2));60 sb2 = new StringBuilder("xyz");61 org.junit.Assert.assertFalse("Variant StringBuilders", StringOps.sameSeq(sb1, sb2));6263 String pfx = "Now I know my ";64 String seq = "A Bee See";65 org.junit.Assert.assertTrue(StringOps.sameSeq(pfx+seq+" so there", pfx.length(), seq.length(), seq));66 String seq2 = String.valueOf(seq.charAt(0)).toLowerCase()+seq.substring(1);67 org.junit.Assert.assertFalse(StringOps.sameSeq(pfx+seq+" so there", pfx.length(), seq.length(), seq2));68 org.junit.Assert.assertTrue(StringOps.sameSeqNoCase(pfx+seq+" so there", pfx.length(), seq.length(), seq2));69 seq2 = String.valueOf(seq.charAt(0)+1)+seq.substring(1);70 org.junit.Assert.assertFalse(StringOps.sameSeqNoCase(pfx+seq+" so there", pfx.length(), seq.length(), seq2));7172 org.junit.Assert.assertTrue(StringOps.sameSeqNoCase("AbC", "abc"));73 org.junit.Assert.assertFalse(StringOps.sameSeqNoCase("AbC", "axc"));74 org.junit.Assert.assertTrue(StringOps.sameSeqNoCase(null, null));75 org.junit.Assert.assertTrue(StringOps.sameSeqNoCase(null, ""));76 org.junit.Assert.assertTrue(StringOps.sameSeqNoCase("", null));77 org.junit.Assert.assertFalse(StringOps.sameSeqNoCase(null, "a"));78 org.junit.Assert.assertFalse(StringOps.sameSeqNoCase("a", null));79 org.junit.Assert.assertTrue(StringOps.sameSeqNoCase("AbC", 0, 0, null));80 org.junit.Assert.assertFalse(StringOps.sameSeqNoCase("AbC", 0, 1, null));81 }8283 @org.junit.Test84 public void testIndexOf()85 {86 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase("vvv", "abc"));87 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase("vvvv", "abc"));88 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase("vv", "abc"));89 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase("ab", "abc"));90 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase("avvabvvab", "abc"));9192 org.junit.Assert.assertEquals(0, StringOps.indexOfNoCase("abc", "A"));93 org.junit.Assert.assertEquals(1, StringOps.indexOfNoCase("abc", "B"));94 org.junit.Assert.assertEquals(2, StringOps.indexOfNoCase("abc", "C"));9596 org.junit.Assert.assertEquals(0, StringOps.indexOfNoCase("abc", "abc"));97 org.junit.Assert.assertEquals(0, StringOps.indexOfNoCase("abc", "aBc"));98 org.junit.Assert.assertEquals(0, StringOps.indexOf("abc", "abc"));99 org.junit.Assert.assertEquals(-1, StringOps.indexOf("abc", "aBc"));100 String lead = "avvabvv";101 org.junit.Assert.assertEquals(lead.length(), StringOps.indexOfNoCase(lead+"abc", "abc"));102 org.junit.Assert.assertEquals(lead.length(), StringOps.indexOfNoCase(lead+"abcvv", "abc"));103 org.junit.Assert.assertEquals(2, StringOps.indexOfNoCase("vvabcvv", "abc"));104105 org.junit.Assert.assertEquals(-1, StringOps.indexOf(null, null));106 org.junit.Assert.assertEquals(-1, StringOps.indexOf(null, "A"));107 org.junit.Assert.assertEquals(-1, StringOps.indexOf("A", null));108 org.junit.Assert.assertEquals(-1, StringOps.indexOf("", "A"));109 org.junit.Assert.assertEquals(-1, StringOps.indexOf("A", ""));110 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase(null, null));111 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase(null, "A"));112 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase("A", null));113 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase("", "A"));114 org.junit.Assert.assertEquals(-1, StringOps.indexOfNoCase("A", ""));115116 StringBuilder sb = new StringBuilder("z before zz and one at the endz");117 int pos = StringOps.indexOf(sb, 'z');118 org.junit.Assert.assertEquals(0, pos);119 pos = StringOps.indexOf(sb, sb.length()-2, 2, 'z');120 org.junit.Assert.assertEquals(sb.length()-1, pos);121 int pos_b = StringOps.indexOf(sb, 'b');122 org.junit.Assert.assertEquals(2, pos_b);123 pos = StringOps.indexOf(sb, pos_b, 'b');124 org.junit.Assert.assertEquals(pos_b, pos);125 pos = StringOps.indexOf(sb, pos_b+1, 'b');126 org.junit.Assert.assertEquals(-1, pos);127 pos = StringOps.indexOf(sb, 'B');128 org.junit.Assert.assertEquals(-1, pos);129 pos = StringOps.indexOf(null, 'B');130 org.junit.Assert.assertEquals(-1, pos);131 pos = StringOps.indexOf("", 'B');132 org.junit.Assert.assertEquals(-1, pos);133 pos = StringOps.indexOf(null, 0, 'B');134 org.junit.Assert.assertEquals(-1, pos);135 pos = StringOps.indexOf("", 0, 'B');136 org.junit.Assert.assertEquals(-1, pos);137138 pos = StringOps.indexOfNoCase(sb, 'B');139 org.junit.Assert.assertEquals(pos_b, pos);140 pos = StringOps.indexOfNoCase(sb, 1, 'B');141 org.junit.Assert.assertEquals(pos_b, pos);142 pos = StringOps.indexOfNoCase(null, 'B');143 org.junit.Assert.assertEquals(-1, pos);144 pos = StringOps.indexOfNoCase("", 'B');145 org.junit.Assert.assertEquals(-1, pos);146 pos = StringOps.indexOfNoCase(null, 0, 'B');147 org.junit.Assert.assertEquals(-1, pos);148 pos = StringOps.indexOfNoCase("", 0, 'B');149 org.junit.Assert.assertEquals(-1, pos);150 }151152 @org.junit.Test153 public void testCount()154 {155 String main = "XthisXisXsinglecharXpatternX";156 int cnt = StringOps.count(main, "X");157 org.junit.Assert.assertEquals(5, cnt);158 cnt = StringOps.count(main, "nX");159 org.junit.Assert.assertEquals(1, cnt);160 main = main.replace("X", "XX");161 cnt = StringOps.count(main, "XX");162 org.junit.Assert.assertEquals(5, cnt);163 main = "XXthisXXisXXconsecutiveXXsinglecharXXpatternXX";164 cnt = StringOps.count(main, "X");165 org.junit.Assert.assertEquals(12, cnt);166 main = main.replace("XX", "abab");167 cnt = StringOps.count(main, "ab");168 org.junit.Assert.assertEquals(12, cnt);169 cnt = StringOps.count(main, "_");170 org.junit.Assert.assertEquals(0, cnt);171 cnt = StringOps.count("", "_");172 org.junit.Assert.assertEquals(0, cnt);173174 main = "z before zz and one at the endz";175 cnt = StringOps.count(main, 'z');176 org.junit.Assert.assertEquals(4, cnt);177 cnt = StringOps.count(main, 1, main.length()-1, 'z');178 org.junit.Assert.assertEquals(3, cnt);179 cnt = StringOps.count(main, 1, main.length()-1, 'z');180 org.junit.Assert.assertEquals(3, cnt);181 cnt = StringOps.count(main, (char)0);182 org.junit.Assert.assertEquals(0, cnt);183 cnt = StringOps.count(null, 'z');184 org.junit.Assert.assertEquals(0, cnt);185 cnt = StringOps.count("", 'z');186 org.junit.Assert.assertEquals(0, cnt);187188 cnt = StringOps.count("", "");189 org.junit.Assert.assertEquals(0, cnt);190 cnt = StringOps.count("", "a");191 org.junit.Assert.assertEquals(0, cnt);192 cnt = StringOps.count("a", "");193 org.junit.Assert.assertEquals(0, cnt);194 cnt = StringOps.count(null, null);195 org.junit.Assert.assertEquals(0, cnt);196 cnt = StringOps.count(null, "a");197 org.junit.Assert.assertEquals(0, cnt);198 cnt = StringOps.count("a", null);199 org.junit.Assert.assertEquals(0, cnt);200 cnt = StringOps.count("aaa", 0, 0, 'a');201 org.junit.Assert.assertEquals(0, cnt);202 cnt = StringOps.count("", 0, 0, 'a');203 org.junit.Assert.assertEquals(0, cnt);204 cnt = StringOps.count(null, 0, 0, 'a');205 org.junit.Assert.assertEquals(0, cnt);206 cnt = StringOps.count("aaa", (char)0);207 org.junit.Assert.assertEquals(0, cnt);208 cnt = StringOps.count("aaa", 'a');209 org.junit.Assert.assertEquals(3, cnt);210 }211212 @org.junit.Test213 public void testStripQuotes()214 {215 char[] quotechars = {StringOps.DFLT_QUOTE, 'x'};216 String[] words = {"", "A", "hello"};217218 for (int idx = 0; idx != words.length; idx++)219 {220 String word = words[idx];221 for (int idx2 = 0; idx2 != quotechars.length; idx2++)222 {223 char quote = quotechars[idx2];224 String soloquote = new String(new char[]{quote});225 String unquoted = word;226 String quoted = soloquote + word + soloquote;227 String leadquote = soloquote + word;228 String trailquote = word + soloquote;229 String emptyquotes = soloquote + soloquote;230231 if (quote == StringOps.DFLT_QUOTE)232 {233 org.junit.Assert.assertTrue(StringOps.stripQuotes(null) == null);234 org.junit.Assert.assertTrue(StringOps.stripQuotes(unquoted) == unquoted);235 org.junit.Assert.assertTrue(StringOps.stripQuotes(leadquote) == leadquote);236 org.junit.Assert.assertTrue(StringOps.stripQuotes(trailquote) == trailquote);237 org.junit.Assert.assertEquals(unquoted, StringOps.stripQuotes(quoted));238 org.junit.Assert.assertEquals(0, StringOps.stripQuotes(emptyquotes).length());239 org.junit.Assert.assertTrue(StringOps.stripQuotes(soloquote) == soloquote);240 }241 else242 {243 org.junit.Assert.assertTrue(StringOps.stripQuotes(null, quote) == null);244 org.junit.Assert.assertTrue(StringOps.stripQuotes(unquoted, quote) == unquoted);245 org.junit.Assert.assertTrue(StringOps.stripQuotes(leadquote, quote) == leadquote);246 org.junit.Assert.assertTrue(StringOps.stripQuotes(trailquote, quote) == trailquote);247 org.junit.Assert.assertEquals(unquoted, StringOps.stripQuotes(quoted, quote));248 org.junit.Assert.assertEquals(0, StringOps.stripQuotes(emptyquotes, quote).length());249 org.junit.Assert.assertTrue(StringOps.stripQuotes(soloquote, quote) == soloquote);250 }251 }252 }253 }254255 @org.junit.Test256 public void testLeadingChars()257 {258 String blank = "";259 String unchanged1 = "A";260 String unchanged = "ABC";261 org.junit.Assert.assertTrue(StringOps.leadingChars(null, 0) == null);262 org.junit.Assert.assertTrue(StringOps.leadingChars(null, 1) == null);263 org.junit.Assert.assertTrue(StringOps.leadingChars(blank, 0) == blank);264 org.junit.Assert.assertTrue(StringOps.leadingChars(blank, 1) == blank);265 org.junit.Assert.assertTrue(StringOps.leadingChars(unchanged1, 0) == unchanged1);266 org.junit.Assert.assertTrue(StringOps.leadingChars(unchanged1, 1) == unchanged1);267 org.junit.Assert.assertTrue(StringOps.leadingChars(unchanged1, 2) == unchanged1);268 org.junit.Assert.assertTrue(StringOps.leadingChars(unchanged, 0) == unchanged);269 org.junit.Assert.assertTrue(StringOps.leadingChars(unchanged, 3) == unchanged);270 org.junit.Assert.assertTrue(StringOps.leadingChars(unchanged, 4) == unchanged);271 org.junit.Assert.assertEquals("A", StringOps.leadingChars(unchanged, 1));272 org.junit.Assert.assertEquals("AB", StringOps.leadingChars(unchanged, 2));273 }274275 //must exactly mirror the above method276 @org.junit.Test277 public void testTrailingChars()278 {279 String blank = "";280 String unchanged1 = "A";281 String unchanged = "ABC";282 org.junit.Assert.assertTrue(StringOps.trailingChars(null, 0) == null);283 org.junit.Assert.assertTrue(StringOps.trailingChars(null, 1) == null);284 org.junit.Assert.assertTrue(StringOps.trailingChars(blank, 0) == blank);285 org.junit.Assert.assertTrue(StringOps.trailingChars(blank, 1) == blank);286287 org.junit.Assert.assertTrue(StringOps.trailingChars(unchanged1, 0) == unchanged1);288 org.junit.Assert.assertTrue(StringOps.trailingChars(unchanged1, 1) == unchanged1);289 org.junit.Assert.assertTrue(StringOps.trailingChars(unchanged1, 2) == unchanged1);290291 org.junit.Assert.assertTrue(StringOps.trailingChars(unchanged, 0) == unchanged);292 org.junit.Assert.assertTrue(StringOps.trailingChars(unchanged, 3) == unchanged);293 org.junit.Assert.assertTrue(StringOps.trailingChars(unchanged, 4) == unchanged);294 org.junit.Assert.assertEquals("C", StringOps.trailingChars(unchanged, 1));295 org.junit.Assert.assertEquals("BC", StringOps.trailingChars(unchanged, 2));296 }297298 @org.junit.Test299 public void testKeepLeadingParts()300 {301 String dlm = ".";302 String str = "one.two.three";303 String newstr = StringOps.keepLeadingParts(str, dlm, 0);304 org.junit.Assert.assertEquals(0, newstr.length());305 newstr = StringOps.keepLeadingParts(str, dlm, 1);306 org.junit.Assert.assertEquals("one", newstr);307 newstr = StringOps.keepLeadingParts(str, dlm, 2);308 org.junit.Assert.assertEquals("one.two", newstr);309 newstr = StringOps.keepLeadingParts(str, dlm, 3);310 org.junit.Assert.assertTrue(str == newstr);311 newstr = StringOps.keepLeadingParts(str, dlm, 4);312 org.junit.Assert.assertTrue(str == newstr);313314 str = ".one...two.";315 newstr = StringOps.keepLeadingParts(str, dlm, 0);316 org.junit.Assert.assertEquals(0, newstr.length());317 newstr = StringOps.keepLeadingParts(str, dlm, 1);318 org.junit.Assert.assertEquals(0, newstr.length());319 newstr = StringOps.keepLeadingParts(str, dlm, 2);320 org.junit.Assert.assertEquals(".one", newstr);321 newstr = StringOps.keepLeadingParts(str, dlm, 3);322 org.junit.Assert.assertEquals(".one.", newstr);323 newstr = StringOps.keepLeadingParts(str, dlm, 4);324 org.junit.Assert.assertEquals(".one..", newstr);325 newstr = StringOps.keepLeadingParts(str, dlm, 5);326 org.junit.Assert.assertEquals(".one...two", newstr);327 newstr = StringOps.keepLeadingParts(str, dlm, 6);328 org.junit.Assert.assertTrue(str == newstr);329 newstr = StringOps.keepLeadingParts(str, dlm, 7);330 org.junit.Assert.assertTrue(str == newstr);331 newstr = StringOps.keepLeadingParts(str, dlm, 8);332 org.junit.Assert.assertTrue(str == newstr);333334 str = ".";335 newstr = StringOps.keepLeadingParts(str, dlm, 0);336 org.junit.Assert.assertEquals(0, newstr.length());337 newstr = StringOps.keepLeadingParts(str, dlm, 1);338 org.junit.Assert.assertEquals(0, newstr.length());339 newstr = StringOps.keepLeadingParts(str, dlm, 2);340 org.junit.Assert.assertTrue(newstr == str);341 newstr = StringOps.keepLeadingParts(str, dlm, 3);342 org.junit.Assert.assertTrue(newstr == str);343 }344345 @org.junit.Test346 public void testStripLeadingParts()347 {348 String dlm = ".";349 String str = "one.two.three";350 String newstr = StringOps.stripLeadingParts(str, dlm, 0);351 org.junit.Assert.assertTrue(newstr == str);352 newstr = StringOps.stripLeadingParts(str, dlm, 1);353 org.junit.Assert.assertEquals("two.three", newstr);354 newstr = StringOps.stripLeadingParts(str, dlm, 2);355 org.junit.Assert.assertEquals("three", newstr);356 newstr = StringOps.stripLeadingParts(str, dlm, 3);357 org.junit.Assert.assertEquals(0, newstr.length());358 newstr = StringOps.stripLeadingParts(str, dlm, 4);359 org.junit.Assert.assertEquals(0, newstr.length());360361 str = ".one...two.";362 newstr = StringOps.stripLeadingParts(str, dlm, 0);363 org.junit.Assert.assertTrue(newstr == str);364 newstr = StringOps.stripLeadingParts(str, dlm, 1);365 org.junit.Assert.assertEquals("one...two.", newstr);366 newstr = StringOps.stripLeadingParts(str, dlm, 2);367 org.junit.Assert.assertEquals("..two.", newstr);368 newstr = StringOps.stripLeadingParts(str, dlm, 3);369 org.junit.Assert.assertEquals(".two.", newstr);370 newstr = StringOps.stripLeadingParts(str, dlm, 4);371 org.junit.Assert.assertEquals("two.", newstr);372 newstr = StringOps.stripLeadingParts(str, dlm, 5);373 org.junit.Assert.assertEquals(0, newstr.length());374 newstr = StringOps.stripLeadingParts(str, dlm, 6);375 org.junit.Assert.assertEquals(0, newstr.length());376 newstr = StringOps.stripLeadingParts(str, dlm, 7);377 org.junit.Assert.assertEquals(0, newstr.length());378 newstr = StringOps.stripLeadingParts(str, dlm, 8);379 org.junit.Assert.assertEquals(0, newstr.length());380381 str = ".";382 newstr = StringOps.stripLeadingParts(str, dlm, 0);383 org.junit.Assert.assertTrue(newstr == str);384 newstr = StringOps.stripLeadingParts(str, dlm, 1);385 org.junit.Assert.assertEquals(0, newstr.length());386 newstr = StringOps.stripLeadingParts(str, dlm, 2);387 org.junit.Assert.assertEquals(0, newstr.length());388 newstr = StringOps.stripLeadingParts(str, dlm, 3);389 org.junit.Assert.assertEquals(0, newstr.length());390 }391392 @org.junit.Test393 public void testKeepTrailingParts()394 {395 String dlm = ".";396 String str = "one.two.three";397 String newstr = StringOps.keepTrailingParts(str, dlm, 0);398 org.junit.Assert.assertEquals(0, newstr.length());399 newstr = StringOps.keepTrailingParts(str, dlm, 1);400 org.junit.Assert.assertEquals("three", newstr);401 newstr = StringOps.keepTrailingParts(str, dlm, 2);402 org.junit.Assert.assertEquals("two.three", newstr);403 newstr = StringOps.keepTrailingParts(str, dlm, 3);404 org.junit.Assert.assertTrue(str == newstr);405 newstr = StringOps.keepTrailingParts(str, dlm, 4);406 org.junit.Assert.assertTrue(str == newstr);407408 str = ".one...two.";409 newstr = StringOps.keepTrailingParts(str, dlm, 0);410 org.junit.Assert.assertEquals(0, newstr.length());411 newstr = StringOps.keepTrailingParts(str, dlm, 1);412 org.junit.Assert.assertEquals(0, newstr.length());413 newstr = StringOps.keepTrailingParts(str, dlm, 2);414 org.junit.Assert.assertEquals("two.", newstr);415 newstr = StringOps.keepTrailingParts(str, dlm, 3);416 org.junit.Assert.assertEquals(".two.", newstr);417 newstr = StringOps.keepTrailingParts(str, dlm, 4);418 org.junit.Assert.assertEquals("..two.", newstr);419 newstr = StringOps.keepTrailingParts(str, dlm, 5);420 org.junit.Assert.assertEquals("one...two.", newstr);421 newstr = StringOps.keepTrailingParts(str, dlm, 6);422 org.junit.Assert.assertTrue(str == newstr);423 newstr = StringOps.keepTrailingParts(str, dlm, 7);424 org.junit.Assert.assertTrue(str == newstr);425 newstr = StringOps.keepTrailingParts(str, dlm, 8);426 org.junit.Assert.assertTrue(str == newstr);427428 str = ".";429 newstr = StringOps.keepTrailingParts(str, dlm, 0);430 org.junit.Assert.assertEquals(0, newstr.length());431 newstr = StringOps.keepTrailingParts(str, dlm, 1);432 org.junit.Assert.assertEquals(0, newstr.length());433 newstr = StringOps.keepTrailingParts(str, dlm, 2);434 org.junit.Assert.assertTrue(newstr == str);435 newstr = StringOps.keepTrailingParts(str, dlm, 3);436 org.junit.Assert.assertTrue(newstr == str);437 }438439 @org.junit.Test440 public void testStripTrailingParts()441 {442 String dlm = ".";443 String str = "one.two.three";444 String newstr = StringOps.stripTrailingParts(str, dlm, 0);445 org.junit.Assert.assertTrue(newstr == str);446 newstr = StringOps.stripTrailingParts(str, dlm, 1);447 org.junit.Assert.assertEquals("one.two", newstr);448 newstr = StringOps.stripTrailingParts(str, dlm, 2);449 org.junit.Assert.assertEquals("one", newstr);450 newstr = StringOps.stripTrailingParts(str, dlm, 3);451 org.junit.Assert.assertEquals(0, newstr.length());452 newstr = StringOps.stripTrailingParts(str, dlm, 4);453 org.junit.Assert.assertEquals(0, newstr.length());454455 str = "..one...two.";456 newstr = StringOps.stripTrailingParts(str, dlm, 0);457 org.junit.Assert.assertTrue(newstr == str);458 newstr = StringOps.stripTrailingParts(str, dlm, 1);459 org.junit.Assert.assertEquals("..one...two", newstr);460 newstr = StringOps.stripTrailingParts(str, dlm, 2);461 org.junit.Assert.assertEquals("..one..", newstr);462 newstr = StringOps.stripTrailingParts(str, dlm, 3);463 org.junit.Assert.assertEquals("..one.", newstr);464 newstr = StringOps.stripTrailingParts(str, dlm, 4);465 org.junit.Assert.assertEquals("..one", newstr);466 newstr = StringOps.stripTrailingParts(str, dlm, 5);467 org.junit.Assert.assertEquals(".", newstr);468 newstr = StringOps.stripTrailingParts(str, dlm, 6);469 org.junit.Assert.assertEquals(0, newstr.length());470 newstr = StringOps.stripTrailingParts(str, dlm, 7);471 org.junit.Assert.assertEquals(0, newstr.length());472473 str = ".";474 newstr = StringOps.stripTrailingParts(str, dlm, 0);475 org.junit.Assert.assertTrue(newstr == str);476 newstr = StringOps.stripTrailingParts(str, dlm, 1);477 org.junit.Assert.assertEquals(0, newstr.length());478 newstr = StringOps.stripTrailingParts(str, dlm, 2);479 org.junit.Assert.assertEquals(0, newstr.length());480 newstr = StringOps.stripTrailingParts(str, dlm, 3);481 org.junit.Assert.assertEquals(0, newstr.length());482 }483484 @org.junit.Test485 public void testFill()486 {487 org.junit.Assert.assertEquals(0, '\0'); //sanity test to make sure I've got the notation for the NUL char right488 org.junit.Assert.assertEquals(0, StringOps.fill('\0', 0).length());489 org.junit.Assert.assertEquals(2, StringOps.fill('x', 2).length());490 org.junit.Assert.assertEquals(0, StringOps.fill('x', 0).length());491 org.junit.Assert.assertEquals("x", StringOps.fill('x', 1));492 org.junit.Assert.assertEquals("xx", StringOps.fill('x', 2));493 }494495 @org.junit.Test496 public void testFlatten()497 {498 org.junit.Assert.assertEquals("NULL", StringOps.flatten(null, 0));499 org.junit.Assert.assertEquals("NULL", StringOps.flatten(null, 1));500 org.junit.Assert.assertEquals("NULL", StringOps.flatten(null, "NULL".length()));501 org.junit.Assert.assertEquals("NULL", StringOps.flatten(null, "NULL".length()+1));502503 org.junit.Assert.assertEquals("Abcde", StringOps.flatten("Abcde", 0));504 org.junit.Assert.assertEquals("A", StringOps.flatten("Abcde", 1));505 org.junit.Assert.assertEquals("Abcde", StringOps.flatten("Abcde", "Abcde".length()));506 org.junit.Assert.assertEquals("Abcde", StringOps.flatten("Abcde", "Abcde".length()+1));507508 String str = "ABC\r\nXYZ\n123\t789";509 org.junit.Assert.assertEquals("ABC XYZ 123 789", StringOps.flatten(str, 0));510 org.junit.Assert.assertEquals("ABC XYZ 123 78", StringOps.flatten(str, str.length()-2));511 str = "ABC"+StringOps.fill(' ', 2)+"XYZ"+StringOps.fill(' ', 3)+"123"+StringOps.fill(' ', 4)+"789";512 org.junit.Assert.assertEquals("ABC XYZ 123 789", StringOps.flatten(str, 0));513 org.junit.Assert.assertEquals("ABC XYZ 123 789", StringOps.flatten(str, str.length()-6));514 org.junit.Assert.assertEquals("ABC XYZ 123 78", StringOps.flatten(str, str.length()-7));515 }516517 @org.junit.Test518 public void testConvertBytes() throws java.io.UnsupportedEncodingException519 {520 String txt = "Hello";521 byte[] buf = txt.getBytes(StringOps.DFLT_CHARSET);522523 org.junit.Assert.assertNull(StringOps.convert(null, null));524 org.junit.Assert.assertNull(StringOps.convert(null, StringOps.DFLT_CHARSET));525 org.junit.Assert.assertNull(StringOps.convert(null, "ISO-8859-3"));526 org.junit.Assert.assertNull(StringOps.convert(null, "no such charset"));527528 org.junit.Assert.assertEquals(txt, StringOps.convert(buf, null));529 org.junit.Assert.assertEquals(txt, StringOps.convert(buf, StringOps.DFLT_CHARSET));530 org.junit.Assert.assertEquals(txt, StringOps.convert(buf, "ISO-8859-3"));531 try {532 org.junit.Assert.assertEquals(txt, StringOps.convert(buf, "no such charset"));533 org.junit.Assert.fail("Write didn't fail as expected on bad charset");534 } catch (java.io.UnsupportedEncodingException ex) {535 //ok - expected536 }537 }538539 @org.junit.Test540 public void testZeroPad()541 {542 StringBuilder buf = new StringBuilder();543 StringOps.zeroPad(buf, 1, 2);544 String str = buf.toString();545 org.junit.Assert.assertTrue(str.equals("01"));546547 buf.setLength(0);548 StringOps.zeroPad(buf, 1, 1);549 str = buf.toString();550 org.junit.Assert.assertTrue(str.equals("1"));551552 buf.setLength(0);553 StringOps.zeroPad(buf, 11, 2);554 str = buf.toString();555 org.junit.Assert.assertTrue(str.equals("11"));556557 buf.setLength(0);558 StringOps.zeroPad(buf, 99, 1);559 str = buf.toString();560 org.junit.Assert.assertTrue(str.equals("99"));561562 buf.setLength(0);563 StringOps.zeroPad(buf, 99, 4);564 str = buf.toString();565 org.junit.Assert.assertTrue(str.equals("0099"));566567 buf.setLength(0);568 StringOps.zeroPad(buf, 1000000000, 11);569 str = buf.toString();570 org.junit.Assert.assertTrue(str.equals("01000000000"));571 }572573 @org.junit.Test574 public void testDigits()575 {576 org.junit.Assert.assertEquals(1, StringOps.digits(0));577 org.junit.Assert.assertEquals(1, StringOps.digits(9));578 org.junit.Assert.assertEquals(2, StringOps.digits(10));579 org.junit.Assert.assertEquals(2, StringOps.digits(99));580 org.junit.Assert.assertEquals(3, StringOps.digits(100));581 org.junit.Assert.assertEquals(3, StringOps.digits(999));582 org.junit.Assert.assertEquals(4, StringOps.digits(1000));583 org.junit.Assert.assertEquals(4, StringOps.digits(9999));584 org.junit.Assert.assertEquals(5, StringOps.digits(10000)); ...

Full Screen

Full Screen

Source:NumberNormalizerTest.java Github

copy

Full Screen

...56 final NumberConverterTemplate nc = new JapaneseNumberConverterImpl(this.digitUtility);57 final var value = new RefObject <>(0d);58 final List <ENotationType> numberType = new ArrayList <>();59 nc.convertNumber(input, value, numberType);60 org.junit.Assert.assertTrue(1234.0 == value.argValue);61 }62 @Test63 void convertTest2() {64 final var input = "1,234,567";65 final NumberConverterTemplate nc = new JapaneseNumberConverterImpl(this.digitUtility);66 final var value = new RefObject <>(0d);67 final List <ENotationType> numberType = new ArrayList <>();68 nc.convertNumber(input, value, numberType);69 org.junit.Assert.assertTrue(1234567.0 == value.argValue);70 }71 @Test72 void convertTest3() {73 final var input = "一二三四五六七";74 final NumberConverterTemplate nc = new JapaneseNumberConverterImpl(this.digitUtility);75 final var value = new RefObject <>(0d);76 final List <ENotationType> numberType = new ArrayList <>();77 nc.convertNumber(input, value, numberType);78 org.junit.Assert.assertTrue(1234567.0 == value.argValue);79 }80 @Test81 void convertTest4() {82 final var input = "123万4567";83 final NumberConverterTemplate nc = new JapaneseNumberConverterImpl(this.digitUtility);84 final var value = new RefObject <>(0d);85 final List <ENotationType> numberType = new ArrayList <>();86 nc.convertNumber(input, value, numberType);87 org.junit.Assert.assertTrue(1234567.0 == value.argValue);88 }89 @Test90 void convertTest5() {91 final var input = "百二十三万四千五百六十七";92 final NumberConverterTemplate nc = new JapaneseNumberConverterImpl(this.digitUtility);93 final var value = new RefObject <>(0d);94 final List <ENotationType> numberType = new ArrayList <>();95 nc.convertNumber(input, value, numberType);96 org.junit.Assert.assertTrue(1234567.0 == value.argValue);97 }98 @Test99 void convertTest6() {100 final var input = "百2十3万4千5百6十7";101 final NumberConverterTemplate nc = new JapaneseNumberConverterImpl(this.digitUtility);102 final var value = new RefObject <>(0d);103 final List <ENotationType> numberType = new ArrayList <>();104 nc.convertNumber(input, value, numberType);105 org.junit.Assert.assertTrue(1234567.0 == value.argValue);106 }107 @Test108 void processTest1() {109 final var text = "その3,244人が3,456,789円で百二十三万四千五百六十七円";110 final List <NNumber> result = new ArrayList <>();111 final var language = "ja";112 this.NN = new NumberNormalizerImpl(language);113 this.NN.process(text, result);114 org.junit.Assert.assertEquals(3, result.size());115 org.junit.Assert.assertTrue(3244.0 == result.get(0).valueLowerbound);116 org.junit.Assert.assertTrue(3456789.0 == result.get(1).valueLowerbound);117 org.junit.Assert.assertTrue(1234567.0 == result.get(2).valueLowerbound);118 }119 @Test120 void processTest2DecimalPoint() {121 final var text = "その3,244.15人が3,456,789.456円";122 final List <NNumber> result = new ArrayList <>();123 final var language = "ja";124 this.NN = new NumberNormalizerImpl(language);125 this.NN.process(text, result);126 org.junit.Assert.assertEquals(2, result.size());127 org.junit.Assert.assertTrue(3244.15 == result.get(0).valueLowerbound);128 org.junit.Assert.assertTrue(3456789.456 == result.get(1).valueLowerbound);129 }130 @Test131 void processTest2DecimalPoint2() {132 final var text = "131.1ポイントというスコアを叩き出した";133 final List <NNumber> result = new ArrayList <>();134 final var language = "ja";135 this.NN = new NumberNormalizerImpl(language);136 this.NN.process(text, result);137 org.junit.Assert.assertEquals(1, result.size());138 org.junit.Assert.assertTrue(131.1 == result.get(0).valueLowerbound);139 org.junit.Assert.assertTrue(131.1 == result.get(0).valueUpperbound);140 }141 @Test142 void processTest2DecimalPoint3() {143 final var text = "9.3万円も損した";144 final List <NNumber> result = new ArrayList <>();145 final var language = "ja";146 this.NN = new NumberNormalizerImpl(language);147 this.NN.process(text, result);148 org.junit.Assert.assertEquals(1, result.size());149 org.junit.Assert.assertTrue(93000 == result.get(0).valueLowerbound);150 org.junit.Assert.assertTrue(93000 == result.get(0).valueUpperbound);151 }152 @Test153 void processTest3Plus() {154 final var text = "その+3,244人が+3,456,789円でプラス百二十三万四千五百六十七円";155 final List <NNumber> result = new ArrayList <>();156 final var language = "ja";157 this.NN = new NumberNormalizerImpl(language);158 this.NN.process(text, result);159 org.junit.Assert.assertEquals(3, result.size());160 org.junit.Assert.assertEquals("+3,244", result.get(0).originalExpression);161 org.junit.Assert.assertEquals("+3,456,789", result.get(1).originalExpression);162 org.junit.Assert.assertEquals("プラス百二十三万四千五百六十七", result.get(2).originalExpression);163 }164 @Test165 void processTest3Minus() {166 final var text = "その-3,244人がー3,456,789円でマイナス百二十三万四千五百六十七円";167 final List <NNumber> result = new ArrayList <>();168 final var language = "ja";169 this.NN = new NumberNormalizerImpl(language);170 this.NN.process(text, result);171 org.junit.Assert.assertEquals(3, result.size());172 org.junit.Assert.assertTrue(-3244.0 == result.get(0).valueLowerbound);173 org.junit.Assert.assertTrue(-3456789.0 == result.get(1).valueLowerbound);174 org.junit.Assert.assertTrue(-1234567.0 == result.get(2).valueLowerbound);175 }176 @Test177 void processTest4Range() {178 final var text = "その10~20人が、100〜200円で";179 final List <NNumber> result = new ArrayList <>();180 final var language = "ja";181 this.NN = new NumberNormalizerImpl(language);182 this.NN.process(text, result);183 org.junit.Assert.assertEquals(2, result.size());184 org.junit.Assert.assertEquals(2, result.size());185 org.junit.Assert.assertTrue(10.0 == result.get(0).valueLowerbound);186 org.junit.Assert.assertTrue(20.0 == result.get(0).valueUpperbound);187 org.junit.Assert.assertTrue(2 == result.get(0).positionStart);188 org.junit.Assert.assertTrue(7 == result.get(0).positionEnd);189 org.junit.Assert.assertTrue(100.0 == result.get(1).valueLowerbound);190 org.junit.Assert.assertTrue(200.0 == result.get(1).valueUpperbound);191 org.junit.Assert.assertTrue(10 == result.get(1).positionStart);192 org.junit.Assert.assertTrue(17 == result.get(1).positionEnd);193 }194 @Test195 void donnotHaveNumber1() {196 final var text = "メロスは激怒した。必ず、かの邪智暴虐の王を除かなければならぬと決意した。メロスには政治がわからぬ。メロスは、村の牧人である。笛を吹き、羊と遊んで暮して来た。";197 final List <NNumber> result = new ArrayList <>();198 final var language = "ja";199 this.NN = new NumberNormalizerImpl(language);200 this.NN.process(text, result);201 org.junit.Assert.assertEquals(0, result.size());202 }203 @Test204 void processTestCorner1() {205 final var text = "千円札";206 final List <NNumber> result = new ArrayList <>();207 final var language = "ja";208 this.NN = new NumberNormalizerImpl(language);209 this.NN.process(text, result);210 org.junit.Assert.assertEquals(1, result.size());211 org.junit.Assert.assertTrue(1000.0 == result.get(0).valueLowerbound);212 }213 @Test214 void plural1() {215 final var text = "話をしよう。あれは今から36万年前………いや、1万4000年前だったか。";216 final List <NNumber> result = new ArrayList <>();217 final var language = "ja";218 this.NN = new NumberNormalizerImpl(language);219 this.NN.process(text, result);220 org.junit.Assert.assertEquals(2, result.size());221 org.junit.Assert.assertTrue(360000.0 == result.get(0).valueLowerbound);222 org.junit.Assert.assertTrue(14000.0 == result.get(1).valueLowerbound);223 }224 @Test225 void invalidNotation1() {226 final var text = "1千1千1千";227 final List <NNumber> result = new ArrayList <>();228 final var language = "ja";229 this.NN = new NumberNormalizerImpl(language);230 this.NN.process(text, result);231 org.junit.Assert.assertEquals(3, result.size());232 org.junit.Assert.assertEquals("1千1", result.get(0).originalExpression);233 org.junit.Assert.assertEquals("千1", result.get(1).originalExpression);234 org.junit.Assert.assertEquals("千", result.get(2).originalExpression);235 }236 @Test237 void invalidNotationType1() {238 final var text = "200720人がきた";239 final List <NNumber> result = new ArrayList <>();240 final var language = "ja";241 this.NN = new NumberNormalizerImpl(language);242 this.NN.process(text, result);243 org.junit.Assert.assertEquals(2, result.size());244 org.junit.Assert.assertEquals("2007", result.get(0).originalExpression);245 org.junit.Assert.assertEquals("20", result.get(1).originalExpression);246 }247 @Test248 void invalidNotationType2() {249 final var text = "2007二十人がきた";250 final List <NNumber> result = new ArrayList <>();251 final var language = "ja";252 this.NN = new NumberNormalizerImpl(language);253 this.NN.process(text, result);254 org.junit.Assert.assertEquals(2, result.size());255 org.junit.Assert.assertEquals("2007", result.get(0).originalExpression);256 org.junit.Assert.assertEquals("二十", result.get(1).originalExpression);257 }258 @Test259 void commmaRange1() {260 final var text = "1,2個";261 final List <NNumber> result = new ArrayList <>();262 final var language = "ja";263 this.NN = new NumberNormalizerImpl(language);264 this.NN.process(text, result);265 org.junit.Assert.assertEquals(1, result.size());266 org.junit.Assert.assertEquals("1,2", result.get(0).originalExpression);267 }268 @Test269 void realExample1() {270 final var text = "京・京";271 final List <NNumber> result = new ArrayList <>();272 final var language = "ja";273 this.NN = new NumberNormalizerImpl(language);274 this.NN.process(text, result);275 org.junit.Assert.assertEquals(0, result.size());276 }277 @Test278 void realExample2() {279 final var text = "七〇〇万";280 final List <NNumber> result = new ArrayList <>();281 final var language = "ja";282 this.NN = new NumberNormalizerImpl(language);283 this.NN.process(text, result);284 org.junit.Assert.assertEquals(1, result.size());285 org.junit.Assert.assertEquals("七〇〇万", result.get(0).originalExpression);286 org.junit.Assert.assertTrue(7000000.0 == result.get(0).valueLowerbound);287 }288 @Test289 void realExample3() {290 final var text = "7000千人";291 final List <NNumber> result = new ArrayList <>();292 final var language = "ja";293 this.NN = new NumberNormalizerImpl(language);294 this.NN.process(text, result);295 org.junit.Assert.assertEquals(1, result.size());296 org.junit.Assert.assertEquals("7000千", result.get(0).originalExpression);297 org.junit.Assert.assertTrue(7000000.0 == result.get(0).valueLowerbound);298 }299 @Test300 void realExample4() {301 final var text = "京京億億万万京億万";302 final List <NNumber> result = new ArrayList <>();303 final var language = "ja";304 this.NN = new NumberNormalizerImpl(language);305 this.NN.process(text, result);306 org.junit.Assert.assertEquals(0, result.size());307 }308 @Test309 void realExample5() {310 final var text = "そうだ、京都いこう";311 final List <NNumber> result = new ArrayList <>();312 final var language = "ja";313 this.NN = new NumberNormalizerImpl(language);314 this.NN.process(text, result);315 org.junit.Assert.assertEquals(0, result.size());316 }317 @Test318 void processTest5Suu() {319 final var text = "その数十人が、数万人で、十数人で、百数十人で、一万数千人で、十数万人で、";320 final List <NNumber> result = new ArrayList <>();321 final var language = "ja";322 this.NN = new NumberNormalizerImpl(language);323 this.NN.process(text, result);324 org.junit.Assert.assertEquals("数十", result.get(0).originalExpression);325 org.junit.Assert.assertEquals("数万", result.get(1).originalExpression);326 org.junit.Assert.assertEquals("十数", result.get(2).originalExpression);327 org.junit.Assert.assertEquals("百数十", result.get(3).originalExpression);328 org.junit.Assert.assertEquals("一万数千", result.get(4).originalExpression);329 org.junit.Assert.assertEquals("十数万", result.get(5).originalExpression);330 org.junit.Assert.assertTrue(10.0 == result.get(0).valueLowerbound);331 org.junit.Assert.assertTrue(90.0 == result.get(0).valueUpperbound);332 org.junit.Assert.assertTrue(10000.0 == result.get(1).valueLowerbound);333 org.junit.Assert.assertTrue(90000.0 == result.get(1).valueUpperbound);334 org.junit.Assert.assertTrue(11.0 == result.get(2).valueLowerbound);335 org.junit.Assert.assertTrue(19.0 == result.get(2).valueUpperbound);336 org.junit.Assert.assertTrue(110.0 == result.get(3).valueLowerbound);337 org.junit.Assert.assertTrue(190.0 == result.get(3).valueUpperbound);338 org.junit.Assert.assertTrue(11000.0 == result.get(4).valueLowerbound);339 org.junit.Assert.assertTrue(19000.0 == result.get(4).valueUpperbound);340 org.junit.Assert.assertTrue(110000.0 == result.get(5).valueLowerbound);341 org.junit.Assert.assertTrue(190000.0 == result.get(5).valueUpperbound);342 }343 @Test344 void processTest5Suu2() {345 final var text = "0数万人";346 final List <NNumber> result = new ArrayList <>();347 final var language = "ja";348 this.NN = new NumberNormalizerImpl(language);349 this.NN.process(text, result);350 org.junit.Assert.assertEquals("0数", result.get(0).originalExpression);351 org.junit.Assert.assertTrue(1 == result.get(0).valueLowerbound);352 org.junit.Assert.assertTrue(9 == result.get(0).valueUpperbound);353 }354 /*355 *中国語のテスト356 */357 @Test358 void chinese1() {359 final var text = "千二百三";360 final List <NNumber> result = new ArrayList <>();361 final var language = "zh";362 this.NN = new NumberNormalizerImpl(language);363 this.NN.process(text, result);364 org.junit.Assert.assertEquals(1, result.size());365 org.junit.Assert.assertEquals(text, result.get(0).originalExpression);366 org.junit.Assert.assertTrue(1230 == result.get(0).valueUpperbound);367 }368 @Test369 void chinese2() {370 final var text = "1230";371 final List <NNumber> result = new ArrayList <>();372 final var language = "zh";373 this.NN = new NumberNormalizerImpl(language);374 this.NN.process(text, result);375 org.junit.Assert.assertEquals(1, result.size());376 org.junit.Assert.assertEquals(text, result.get(0).originalExpression);377 org.junit.Assert.assertTrue(1230 == result.get(0).valueUpperbound);378 }379 @Test380 void chinese3() {381 final var text = "1万2300";382 final List <NNumber> result = new ArrayList <>();383 final var language = "zh";384 this.NN = new NumberNormalizerImpl(language);385 this.NN.process(text, result);386 org.junit.Assert.assertEquals(1, result.size());387 org.junit.Assert.assertEquals(text, result.get(0).originalExpression);388 org.junit.Assert.assertTrue(12300 == result.get(0).valueUpperbound);389 }390 @Test391 void chinese4() {392 final var text = "一百一";393 final List <NNumber> result = new ArrayList <>();394 final var language = "zh";395 this.NN = new NumberNormalizerImpl(language);396 this.NN.process(text, result);397 org.junit.Assert.assertEquals(1, result.size());398 org.junit.Assert.assertEquals(text, result.get(0).originalExpression);399 org.junit.Assert.assertTrue(110 == result.get(0).valueUpperbound);400 }401 @Test402 void chinese5() {403 final var text = "一千零一十";404 final List <NNumber> result = new ArrayList <>();405 final var language = "zh";406 this.NN = new NumberNormalizerImpl(language);407 this.NN.process(text, result);408 org.junit.Assert.assertEquals(1, result.size());409 org.junit.Assert.assertEquals(text, result.get(0).originalExpression);410 org.junit.Assert.assertTrue(1010 == result.get(0).valueUpperbound);411 }412 @Test413 void chinese6() {414 final var text = "两千";415 final List <NNumber> result = new ArrayList <>();416 final var language = "zh";417 this.NN = new NumberNormalizerImpl(language);418 this.NN.process(text, result);419 org.junit.Assert.assertEquals(1, result.size());420 org.junit.Assert.assertEquals(text, result.get(0).originalExpression);421 org.junit.Assert.assertTrue(2000 == result.get(0).valueUpperbound);422 }423 @Test424 void chinese7() {425 final var text = "一亿";426 final List <NNumber> result = new ArrayList <>();427 final var language = "zh";428 this.NN = new NumberNormalizerImpl(language);429 this.NN.process(text, result);430 org.junit.Assert.assertEquals(1, result.size());431 org.junit.Assert.assertEquals(text, result.get(0).originalExpression);432 org.junit.Assert.assertTrue(100000000 == result.get(0).valueUpperbound);433 }434 @Test435 void otherTest() {436 final var text = "1万4000";437 final List <NNumber> result = new ArrayList <>();438 final var language = "ja";439 this.NN = new NumberNormalizerImpl(language);440 this.NN.process(text, result);441 org.junit.Assert.assertEquals(1, result.size());442 org.junit.Assert.assertEquals("1万4000", result.get(0).originalExpression);443 org.junit.Assert.assertTrue(14000 == result.get(0).valueUpperbound);444 }445 @Test446 void otherTest2() {447 final var text = "数十人が十数人と喧嘩して、百数十円落とした";448 final List <NNumber> result = new ArrayList <>();449 final var language = "ja";450 this.NN = new NumberNormalizerImpl(language);451 this.NN.process(text, result);452 org.junit.Assert.assertEquals(3, result.size());453 }454}...

Full Screen

Full Screen

Source:HashedSetTest.java Github

copy

Full Screen

...25 public void testEmpty()26 {27 java.util.Set<String> hset = allocSet(-1, 0);28 org.junit.Assert.assertEquals(0, hset.size());29 org.junit.Assert.assertTrue(hset.isEmpty());30 org.junit.Assert.assertFalse(hset.remove("nonsuch"));31 org.junit.Assert.assertFalse(hset.contains("nonsuch"));32 org.junit.Assert.assertFalse(hset.remove(null));33 org.junit.Assert.assertFalse(hset.contains(null));34 hset.clear();35 org.junit.Assert.assertEquals(0, hset.size());36 org.junit.Assert.assertTrue(hset.isEmpty());3738 java.util.Iterator<String> it = hset.iterator();39 int cnt = 0;40 while (it.hasNext()) {41 cnt++;42 it.next();43 }44 org.junit.Assert.assertEquals(0, cnt);4546 Object[] arr = hset.toArray();47 org.junit.Assert.assertEquals(0, arr.length);4849 String[] arr2 = hset.toArray(new String[hset.size()]);50 org.junit.Assert.assertEquals(0, arr2.length);51 org.junit.Assert.assertFalse(arr2 == arr);5253 String[] arr3 = hset.toArray(new String[2]);54 java.util.Arrays.fill(arr3, "marker");55 String[] arr3b = hset.toArray(arr3);56 org.junit.Assert.assertTrue(arr3 == arr3b);57 org.junit.Assert.assertNull(arr3[0]);58 org.junit.Assert.assertFalse(arr2 == arr3);59 }6061 @org.junit.Test62 public void testRegular()63 {64 java.util.Set<String> hset = allocSet(1, 1);65 org.junit.Assert.assertTrue(hset.isEmpty());66 org.junit.Assert.assertNotNull(hset.toString()); //for sake of code coverage67 org.junit.Assert.assertTrue(hset.add("one"));68 org.junit.Assert.assertFalse(hset.isEmpty());69 org.junit.Assert.assertTrue(hset.add("two"));70 org.junit.Assert.assertTrue(hset.add("three"));71 org.junit.Assert.assertEquals(3, hset.size());72 org.junit.Assert.assertFalse(hset.add("one"));73 org.junit.Assert.assertEquals(3, hset.size());74 org.junit.Assert.assertNotNull(hset.toString());7576 org.junit.Assert.assertTrue(hset.remove("one"));77 org.junit.Assert.assertEquals(2, hset.size());78 org.junit.Assert.assertFalse(hset.remove("one"));79 org.junit.Assert.assertEquals(2, hset.size());80 org.junit.Assert.assertFalse(hset.contains("one"));81 org.junit.Assert.assertTrue(hset.contains("two"));82 org.junit.Assert.assertTrue(hset.contains("three"));8384 //test the HashedSet-only get() method85 if (stype == SetTypeID.STYP_GREY) {86 HashedSet<String> hs = (HashedSet<String>)hset;87 String str = hs.get("two");88 org.junit.Assert.assertTrue(str == "two");89 String dup = new String("two");90 str = hs.get(dup);91 org.junit.Assert.assertFalse(str == dup);92 org.junit.Assert.assertTrue(str == "two");93 str = hs.get("nosuchvalue");94 org.junit.Assert.assertNull(str);95 }9697 final java.util.Set<String> jset_orig = new java.util.HashSet<String>();98 jset_orig.addAll(hset);99 org.junit.Assert.assertEquals(2, hset.size());100 org.junit.Assert.assertEquals(hset.size(), jset_orig.size());101 org.junit.Assert.assertTrue(jset_orig.contains("two"));102 org.junit.Assert.assertTrue(jset_orig.contains("three"));103104 String[] arr1 = hset.toArray(new String[5]);105 java.util.Arrays.fill(arr1, "marker");106 String[] arr1b = hset.toArray(arr1);107 org.junit.Assert.assertTrue(arr1 == arr1b);108 if ("two".equals(arr1[0])) {109 org.junit.Assert.assertSame("three", arr1[1]);110 } else {111 org.junit.Assert.assertSame("three", arr1[0]);112 org.junit.Assert.assertSame("two", arr1[1]);113 }114 org.junit.Assert.assertNull(arr1[2]);115116 java.util.Set<String> jset = new java.util.HashSet<String>();117 jset.addAll(jset_orig);118 java.util.Iterator<String> it = hset.iterator();119 int cnt = 0;120 while (it.hasNext()) {121 cnt++;122 jset.remove(it.next());123 }124 org.junit.Assert.assertEquals(2, cnt);125 org.junit.Assert.assertEquals(0, jset.size());126127 jset.addAll(jset_orig);128 Object[] arr = hset.toArray();129 org.junit.Assert.assertEquals(2, arr.length);130 for (int idx = 0; idx != arr.length; idx++) {131 boolean exists = jset.remove(arr[idx]);132 org.junit.Assert.assertTrue(exists);133 }134 org.junit.Assert.assertEquals(0, jset.size());135136 jset.addAll(jset_orig);137 String[] arr2 = hset.toArray(new String[0]);138 org.junit.Assert.assertEquals(2, arr2.length);139 for (int idx = 0; idx != arr.length; idx++) {140 boolean exists = jset.remove(arr[idx]);141 org.junit.Assert.assertTrue(exists);142 }143 org.junit.Assert.assertEquals(0, jset.size());144145 hset.clear();146 org.junit.Assert.assertTrue(hset.isEmpty());147 org.junit.Assert.assertEquals(0, hset.size());148 }149150 @org.junit.Test151 public void testNullMember()152 {153 java.util.Set<String> hset = allocSet(-1, 0);154 org.junit.Assert.assertTrue(hset.isEmpty());155 org.junit.Assert.assertTrue(hset.add(null));156 org.junit.Assert.assertFalse(hset.isEmpty());157 org.junit.Assert.assertEquals(1, hset.size());158 org.junit.Assert.assertTrue(hset.contains(null));159 org.junit.Assert.assertNotNull(hset.toString());160 org.junit.Assert.assertFalse(hset.add(null));161 org.junit.Assert.assertEquals(1, hset.size());162 org.junit.Assert.assertTrue(hset.contains(null));163 org.junit.Assert.assertTrue(hset.add("two"));164 org.junit.Assert.assertEquals(2, hset.size());165 org.junit.Assert.assertTrue(hset.contains("two"));166 org.junit.Assert.assertTrue(hset.contains(null));167168 org.junit.Assert.assertTrue(hset.remove(null));169 org.junit.Assert.assertEquals(1, hset.size());170 org.junit.Assert.assertFalse(hset.contains(null));171 org.junit.Assert.assertFalse(hset.remove(null));172 org.junit.Assert.assertEquals(1, hset.size());173 org.junit.Assert.assertTrue(hset.contains("two"));174 org.junit.Assert.assertTrue(hset.remove("two"));175 org.junit.Assert.assertFalse(hset.contains("two"));176 org.junit.Assert.assertTrue(hset.isEmpty());177 org.junit.Assert.assertEquals(0, hset.size());178179 org.junit.Assert.assertTrue(hset.add(null));180 org.junit.Assert.assertFalse(hset.isEmpty());181 org.junit.Assert.assertEquals(1, hset.size());182 org.junit.Assert.assertTrue(hset.contains(null));183184 java.util.Iterator<String> it = hset.iterator();185 int cnt = 0;186 while (it.hasNext()) {187 cnt++;188 org.junit.Assert.assertNull(it.next());189 }190 org.junit.Assert.assertEquals(1, cnt);191192 Object[] arr = hset.toArray();193 org.junit.Assert.assertEquals(1, arr.length);194 for (int idx = 0; idx != arr.length; idx++) {195 org.junit.Assert.assertNull(arr[idx]);196 }197198 String[] arr2 = hset.toArray(new String[hset.size()]);199 org.junit.Assert.assertEquals(1, arr2.length);200 for (int idx = 0; idx != arr.length; idx++) {201 org.junit.Assert.assertNull(arr[idx]);202 }203204 hset.clear();205 org.junit.Assert.assertTrue(hset.isEmpty());206 org.junit.Assert.assertEquals(0, hset.size());207208 org.junit.Assert.assertTrue(hset.add("one"));209 org.junit.Assert.assertTrue(hset.add(null));210 org.junit.Assert.assertEquals(2, hset.size());211 org.junit.Assert.assertTrue(hset.contains("one"));212 org.junit.Assert.assertTrue(hset.contains(null));213214 if (stype == SetTypeID.STYP_GREY) {215 HashedSet<String> hs = (HashedSet<String>)hset;216 org.junit.Assert.assertNull(hs.get(null));217 }218 }219220 @org.junit.Test221 public void testCollections()222 {223 java.util.Set<String> jset_orig = new java.util.HashSet<String>();224 jset_orig.add("one");225 jset_orig.add("two");226 jset_orig.add("three");227228 java.util.Set<String> hset = allocSet(-1, 0);229 java.util.Set<String> jset = new java.util.HashSet<String>();230 jset.addAll(jset_orig);231 org.junit.Assert.assertTrue(hset.addAll(jset));232 org.junit.Assert.assertEquals(3, hset.size());233 org.junit.Assert.assertTrue(hset.containsAll(jset));234 org.junit.Assert.assertFalse(hset.addAll(jset));235 org.junit.Assert.assertEquals(3, hset.size());236 org.junit.Assert.assertTrue(hset.containsAll(jset));237238 jset.remove("one");239 org.junit.Assert.assertTrue(hset.retainAll(jset));240 org.junit.Assert.assertEquals(2, hset.size());241 org.junit.Assert.assertTrue(hset.containsAll(jset));242 org.junit.Assert.assertFalse(hset.retainAll(jset));243 org.junit.Assert.assertEquals(2, hset.size());244 org.junit.Assert.assertTrue(hset.containsAll(jset));245246 hset.add("extra");247 org.junit.Assert.assertTrue(hset.removeAll(jset));248 org.junit.Assert.assertEquals(1, hset.size());249 org.junit.Assert.assertTrue(hset.contains("extra"));250 org.junit.Assert.assertFalse(hset.containsAll(jset));251 org.junit.Assert.assertFalse(hset.removeAll(jset));252 org.junit.Assert.assertEquals(1, hset.size());253 org.junit.Assert.assertTrue(hset.contains("extra"));254 }255256 @org.junit.Test257 final public void testRecycledIterators()258 {259 if (stype != SetTypeID.STYP_GREY) return;260 HashedSet<Integer> hset = new HashedSet<Integer>();261 hset.add(1);262 hset.add(2);263 hset.add(3);264 int itercnt_exp = hset.size();265266 java.util.Iterator<Integer> iter = hset.recycledIterator();267 int itercnt = 0;268 boolean found_it = false;269 while (iter.hasNext()) {270 int num = iter.next();271 if (num == 2) found_it = true;272 itercnt++;273 }274 org.junit.Assert.assertEquals(itercnt, itercnt_exp);275 org.junit.Assert.assertTrue(found_it);276277 java.util.Iterator<Integer> iter2 = hset.recycledIterator();278 org.junit.Assert.assertSame(iter, iter2);279 itercnt = 0;280 found_it = false;281 while (iter.hasNext()) {282 int num = iter.next();283 if (num == 2) found_it = true;284 itercnt++;285 }286 org.junit.Assert.assertEquals(itercnt, itercnt_exp);287 org.junit.Assert.assertTrue(found_it);288 }289290 @org.junit.Test291 final public void testGrow()292 {293 if (stype == SetTypeID.STYP_JDK) return;294 final HashedSet<String> hset = new HashedSet<String>(3, 10);295 final int cap1 = getCapacity(hset);296 int cnt = 0;297 String str1 = null;298 String strlast = null;299300 while (getCapacity(hset) == cap1) {301 String str = String.valueOf(++cnt);302 boolean isnew = hset.add(str);303 org.junit.Assert.assertTrue(isnew);304 if (str1 == null) str1 = str;305 strlast = str;306 }307 int cap2 = getCapacity(hset);308 int cap3 = hset.trimToSize();309 org.junit.Assert.assertEquals(cap2, cap3);310 org.junit.Assert.assertEquals(cap3, getCapacity(hset));311 org.junit.Assert.assertEquals(cap3, hset.trimToSize());312 org.junit.Assert.assertTrue(hset.contains(str1));313 org.junit.Assert.assertTrue(hset.contains(strlast));314 hset.clear();315 org.junit.Assert.assertEquals(1, hset.trimToSize());316 org.junit.Assert.assertEquals(1, getCapacity(hset));317 }318319 @org.junit.Test320 final public void bulktest()321 {322 java.text.DecimalFormat formatter = new java.text.DecimalFormat("#,###");323 long total_duration = 0;324 long min_duration = Long.MAX_VALUE;325 long[] duration = new long[SOAK_RUNS];326 int warmuploops = SOAK_WARMUPS;327 for (int loop = 0; loop != warmuploops + duration.length; loop++) {328 long time1 = System.nanoTime();329 runSoak();330 if (loop < warmuploops) continue;331 int idx = loop - warmuploops;332 duration[idx] = System.nanoTime() - time1;333 if (duration[idx] < min_duration) min_duration = duration[idx];334 total_duration += duration[idx];335 }336 System.out.print("Set="+stype+" bulktest: ");337 String dlm = "";338 for (int loop = 0; loop != duration.length; loop++) {339 System.out.print(dlm+formatter.format(duration[loop]));340 dlm = " : ";341 }342 System.out.println(" - Avg="+formatter.format(total_duration/duration.length)343 +", Min="+formatter.format(min_duration));344 }345346 private void runSoak()347 {348 final int cap = SOAK_SIZE; //ramp up to investigate manually349 java.util.Set<String> set = allocSet(0, 5);350 // general put-get351 for (int v = 0; v != cap; v++) {352 String s = String.valueOf(v);353 org.junit.Assert.assertTrue(set.add(s));354 org.junit.Assert.assertFalse(set.add(s));355 }356 org.junit.Assert.assertEquals(cap, set.size());357 for (int v = 0; v != cap; v++) org.junit.Assert.assertFalse(set.add(String.valueOf(v)));358 org.junit.Assert.assertEquals(cap, set.size());359 org.junit.Assert.assertFalse(set.remove(null));360 org.junit.Assert.assertEquals(cap, set.size());361 org.junit.Assert.assertEquals(cap, set.size());362 org.junit.Assert.assertTrue(set.add(null));363 org.junit.Assert.assertEquals(cap+1, set.size());364 for (int v = 0; v != cap; v++) org.junit.Assert.assertTrue(set.contains(String.valueOf(v)));365 org.junit.Assert.assertTrue(set.contains(null));366 // iterators367 java.util.HashSet<String> jset = new java.util.HashSet<String>();368 java.util.Iterator<String> it = set.iterator();369 while (it.hasNext()) {370 jset.add(it.next());371 it.remove();372 }373 org.junit.Assert.assertEquals(0, set.size());374 org.junit.Assert.assertEquals(cap+1, jset.size());375 for (int v = 0; v != cap; v++) {376 String s = String.valueOf(v);377 org.junit.Assert.assertFalse(set.contains(s));378 org.junit.Assert.assertTrue(jset.contains(s));379 }380 org.junit.Assert.assertTrue(jset.contains(null));381 org.junit.Assert.assertFalse(set.contains(null));382 //restore and remove383 set.addAll(jset);384 org.junit.Assert.assertEquals(cap+1, jset.size());385 org.junit.Assert.assertEquals(cap+1, set.size());386 org.junit.Assert.assertTrue(set.contains(null));387 for (int v = 0; v != cap; v++) {388 String s = String.valueOf(v);389 org.junit.Assert.assertTrue(set.contains(s));390 org.junit.Assert.assertTrue(set.remove(s));391 org.junit.Assert.assertFalse(set.contains(s));392 org.junit.Assert.assertFalse(set.remove(s));393 org.junit.Assert.assertFalse(set.contains(s));394 }395 org.junit.Assert.assertEquals(1, set.size());396 org.junit.Assert.assertTrue(set.contains(null));397 org.junit.Assert.assertTrue(set.remove(null));398 org.junit.Assert.assertFalse(set.contains(null));399 org.junit.Assert.assertEquals(0, set.size());400 org.junit.Assert.assertEquals(cap+1, jset.size());401 }402403 private java.util.Set<String> allocSet(int initcap, float factor) {404 switch (stype) {405 case STYP_JDK:406 if (initcap == -1) return new java.util.HashSet<String>();407 return new java.util.HashSet<String>(initcap, factor);408 case STYP_GREY:409 if (initcap == -1) return new HashedSet<String>();410 return new HashedSet<String>(initcap, factor);411 default: ...

Full Screen

Full Screen

Source:AdminInputValidationTest.java Github

copy

Full Screen

...3import static org.junit.jupiter.api.Assertions.*;4class AdminInputValidationTest {5 @org.junit.jupiter.api.Test6 void validConfigName() {7 assertTrue(AdminInputValidation.configName("My Computer"));8 assertTrue(AdminInputValidation.configName("my computer"));9 assertTrue(AdminInputValidation.configName("demo-computer"));10 assertTrue(AdminInputValidation.configName("Computer 43"));11 assertTrue(AdminInputValidation.configName("#Computer!"));12 assertTrue(AdminInputValidation.configName("4094320823"));13 }14 @org.junit.jupiter.api.Test15 void invalidConfigName() {16 assertFalse(AdminInputValidation.name(""));17 assertFalse(AdminInputValidation.name(" "));18 assertFalse(AdminInputValidation.name("My;Computer"));19 assertFalse(AdminInputValidation.name("My:Computer"));20 }21 @org.junit.jupiter.api.Test22 void validName() {23 assertTrue(AdminInputValidation.name("x230"));24 assertTrue(AdminInputValidation.name("X230"));25 assertTrue(AdminInputValidation.name("X 230"));26 assertTrue(AdminInputValidation.name("X-230!"));27 assertTrue(AdminInputValidation.name("4299032"));28 }29 @org.junit.jupiter.api.Test30 void invalidName() {31 assertFalse(AdminInputValidation.name(""));32 assertFalse(AdminInputValidation.name(" "));33 assertFalse(AdminInputValidation.name("X;230"));34 }35 @org.junit.jupiter.api.Test36 void validBrand() {37 assertTrue(AdminInputValidation.brand("Intel"));38 assertTrue(AdminInputValidation.brand("intel"));39 assertTrue(AdminInputValidation.brand("Intel Corporations"));40 assertTrue(AdminInputValidation.brand("Intel-Corporations"));41 assertTrue(AdminInputValidation.brand("8491289"));42 }43 @org.junit.jupiter.api.Test44 void invalidBrand() {45 assertFalse(AdminInputValidation.brand(""));46 assertFalse(AdminInputValidation.brand(" "));47 assertFalse(AdminInputValidation.brand("Intel;corporations"));48 }49 @org.junit.jupiter.api.Test50 void validPrice() {51 assertTrue(AdminInputValidation.price(0.1));52 assertTrue(AdminInputValidation.price(99999));53 assertTrue(AdminInputValidation.price(5.5));54 }55 @org.junit.jupiter.api.Test56 void invalidPrice() {57 assertFalse(AdminInputValidation.price(0));58 assertFalse(AdminInputValidation.price(-1));59 assertFalse(AdminInputValidation.price(100000));60 }61 @org.junit.jupiter.api.Test62 void validPerformanceValue() {63 assertTrue(AdminInputValidation.performanceValue(0.1));64 assertTrue(AdminInputValidation.performanceValue(100));65 }66 @org.junit.jupiter.api.Test67 void invalidPerformanceValue() {68 assertFalse(AdminInputValidation.performanceValue(-1));69 assertFalse(AdminInputValidation.performanceValue(0));70 assertFalse(AdminInputValidation.performanceValue(101));71 }72 @org.junit.jupiter.api.Test73 void validDimensions() {74 assertTrue(AdminInputValidation.dimensions("5x5x5"));75 assertTrue(AdminInputValidation.dimensions("999x999x999"));76 }77 @org.junit.jupiter.api.Test78 void invalidDimensions() {79 assertFalse(AdminInputValidation.dimensions("5X5X5"));80 assertFalse(AdminInputValidation.dimensions("-1x-1x-1"));81 assertFalse(AdminInputValidation.dimensions(""));82 assertFalse(AdminInputValidation.dimensions(" "));83 assertFalse(AdminInputValidation.dimensions("12 by 12 by 12"));84 }85 @org.junit.jupiter.api.Test86 void validColor() {87 assertTrue(AdminInputValidation.color("Blue"));88 assertTrue(AdminInputValidation.color("Lightblue"));89 assertTrue(AdminInputValidation.color("Light blue"));90 assertTrue(AdminInputValidation.color("Light-blue"));91 }92 @org.junit.jupiter.api.Test93 void invalidColor() {94 assertFalse(AdminInputValidation.color("blue"));95 assertFalse(AdminInputValidation.color("DArk blue"));96 assertFalse(AdminInputValidation.color("Blue-SKY"));97 assertFalse(AdminInputValidation.color("LightBlue"));98 }99 @org.junit.jupiter.api.Test100 void validClockSpeed() {101 assertTrue(AdminInputValidation.clockSpeed(100));102 assertTrue(AdminInputValidation.clockSpeed(0.1));103 assertTrue(AdminInputValidation.clockSpeed(50));104 }105 @org.junit.jupiter.api.Test106 void invalidClockSpeed() {107 assertFalse(AdminInputValidation.clockSpeed(0));108 assertFalse(AdminInputValidation.clockSpeed(-1));109 assertFalse(AdminInputValidation.clockSpeed(-100));110 assertFalse(AdminInputValidation.clockSpeed(101));111 }112 @org.junit.jupiter.api.Test113 void validCores() {114 assertTrue(AdminInputValidation.cores(128));115 assertTrue(AdminInputValidation.cores(2));116 assertTrue(AdminInputValidation.cores(50));117 }118 @org.junit.jupiter.api.Test119 void invalidCores() {120 assertFalse(AdminInputValidation.cores(0));121 assertFalse(AdminInputValidation.cores(3));122 assertFalse(AdminInputValidation.cores(129));123 assertFalse(AdminInputValidation.cores(-0));124 assertFalse(AdminInputValidation.cores(-1));125 }126 @org.junit.jupiter.api.Test127 void validLanguage() {128 assertTrue(AdminInputValidation.language("NOR"));129 assertTrue(AdminInputValidation.language("ENG"));130 assertTrue(AdminInputValidation.language("FRA"));131 assertTrue(AdminInputValidation.language("SWE"));132 assertTrue(AdminInputValidation.language("TOR"));133 }134 @org.junit.jupiter.api.Test135 void invalidLanguage() {136 assertFalse(AdminInputValidation.language("Norsk"));137 assertFalse(AdminInputValidation.language("English"));138 assertFalse(AdminInputValidation.language("Engelsk"));139 assertFalse(AdminInputValidation.language("Heisan"));140 assertFalse(AdminInputValidation.language("Tegnespråk"));141 }142 @org.junit.jupiter.api.Test143 void validCapacity() {144 assertTrue(AdminInputValidation.capacity(1));145 assertTrue(AdminInputValidation.capacity(50));146 assertTrue(AdminInputValidation.capacity(5000));147 assertTrue(AdminInputValidation.capacity(20000));148 }149 @org.junit.jupiter.api.Test150 void invalidCapacity() {151 assertFalse(AdminInputValidation.capacity(-1));152 assertFalse(AdminInputValidation.capacity(-100));153 assertFalse(AdminInputValidation.capacity(0));154 assertFalse(AdminInputValidation.capacity(20001));155 }156 @org.junit.jupiter.api.Test157 void validMemory() {158 assertTrue(AdminInputValidation.memory(2));159 assertTrue(AdminInputValidation.memory(50));160 assertTrue(AdminInputValidation.memory(5000));161 assertTrue(AdminInputValidation.memory(256000));162 }163 @org.junit.jupiter.api.Test164 void invalidMemory() {165 assertFalse(AdminInputValidation.memory(-1));166 assertFalse(AdminInputValidation.memory(-100));167 assertFalse(AdminInputValidation.memory(0));168 assertFalse(AdminInputValidation.memory(256001));169 }170 @org.junit.jupiter.api.Test171 void validMemorySpeed() {172 assertTrue(AdminInputValidation.memorySpeed(1));173 assertTrue(AdminInputValidation.memorySpeed(50));174 assertTrue(AdminInputValidation.memorySpeed(5000));175 assertTrue(AdminInputValidation.memorySpeed(10000));176 }177 @org.junit.jupiter.api.Test178 void invalidMemorySpeed() {179 assertFalse(AdminInputValidation.memorySpeed(0));180 assertFalse(AdminInputValidation.memorySpeed(-1));181 assertFalse(AdminInputValidation.memorySpeed(-100));182 assertFalse(AdminInputValidation.memorySpeed(10001));183 }184 @org.junit.jupiter.api.Test185 void validWatt() {186 assertTrue(AdminInputValidation.watt(1));187 assertTrue(AdminInputValidation.watt(50));188 assertTrue(AdminInputValidation.watt(5000));189 assertTrue(AdminInputValidation.watt(10000));190 }191 @org.junit.jupiter.api.Test192 void invalidWatt() {193 assertFalse(AdminInputValidation.watt(10001));194 assertFalse(AdminInputValidation.watt(-1));195 assertFalse(AdminInputValidation.watt(-100));196 assertFalse(AdminInputValidation.watt(0));197 }198 @org.junit.jupiter.api.Test199 void validSize() {200 assertTrue(AdminInputValidation.size(1));201 assertTrue(AdminInputValidation.size(27));202 assertTrue(AdminInputValidation.size(50));203 assertTrue(AdminInputValidation.size(300));204 }205 @org.junit.jupiter.api.Test206 void invalidSize() {207 assertFalse(AdminInputValidation.size(301));208 assertFalse(AdminInputValidation.size(0));209 assertFalse(AdminInputValidation.size(-1));210 assertFalse(AdminInputValidation.size(-100));211 }212}...

Full Screen

Full Screen

Source:DigitUtilityTest.java Github

copy

Full Screen

...14// }15 @Test16 void testIsHankakusuji() {17 org.junit.Assert.assertFalse(this.digitUtility.isZenkakusuji('1'));18 org.junit.Assert.assertTrue(this.digitUtility.isZenkakusuji('1'));19 org.junit.Assert.assertFalse(this.digitUtility.isZenkakusuji('一'));20 org.junit.Assert.assertFalse(this.digitUtility.isZenkakusuji('あ'));21 }22 @Test23 void testIsZenkakusuji() {24 }25 @Test26 void testIsArabic() {27 org.junit.Assert.assertTrue(this.digitUtility.isArabic('1'));28 org.junit.Assert.assertTrue(this.digitUtility.isArabic('1'));29 org.junit.Assert.assertFalse(this.digitUtility.isArabic('一'));30 org.junit.Assert.assertFalse(this.digitUtility.isArabic('あ'));31 }32 @Test33 void testIsKansuji() {34 org.junit.Assert.assertFalse(this.digitUtility.isKansuji('1'));35 org.junit.Assert.assertFalse(this.digitUtility.isKansuji('1'));36 org.junit.Assert.assertTrue(this.digitUtility.isKansuji('一'));37 org.junit.Assert.assertFalse(this.digitUtility.isKansuji('あ'));38 }39 @Test40 void testIsKansuji09() {41 org.junit.Assert.assertFalse(this.digitUtility.isKansuji09('1'));42 org.junit.Assert.assertFalse(this.digitUtility.isKansuji09('1'));43 org.junit.Assert.assertTrue(this.digitUtility.isKansuji09('一'));44 org.junit.Assert.assertFalse(this.digitUtility.isKansuji09('十'));45 org.junit.Assert.assertFalse(this.digitUtility.isKansuji09('万'));46 org.junit.Assert.assertFalse(this.digitUtility.isKansuji09('あ'));47 }48 @Test49 void testIsKansujiKuraiSen() {50 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiSen('1'));51 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiSen('1'));52 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiSen('一'));53 org.junit.Assert.assertTrue(this.digitUtility.isKansujiKuraiSen('十'));54 org.junit.Assert.assertTrue(this.digitUtility.isKansujiKuraiSen('百'));55 org.junit.Assert.assertTrue(this.digitUtility.isKansujiKuraiSen('千'));56 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiSen('万'));57 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiSen('あ'));58 }59 @Test60 void testIsKansujiKuraiMan() {61 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiMan('1'));62 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiMan('1'));63 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiMan('一'));64 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiMan('十'));65 org.junit.Assert.assertTrue(this.digitUtility.isKansujiKuraiMan('万'));66 org.junit.Assert.assertTrue(this.digitUtility.isKansujiKuraiMan('億'));67 org.junit.Assert.assertTrue(this.digitUtility.isKansujiKuraiMan('兆'));68 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKuraiMan('あ'));69 }70 @Test71 void testIsKansujiKurai() {72 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKurai('1'));73 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKurai('1'));74 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKurai('一'));75 org.junit.Assert.assertTrue(this.digitUtility.isKansujiKurai('十'));76 org.junit.Assert.assertTrue(this.digitUtility.isKansujiKurai('万'));77 org.junit.Assert.assertFalse(this.digitUtility.isKansujiKurai('あ'));78 }79 @Test80 void testIsNumber() {81 org.junit.Assert.assertTrue(this.digitUtility.isNumber('1'));82 org.junit.Assert.assertTrue(this.digitUtility.isNumber('1'));83 org.junit.Assert.assertTrue(this.digitUtility.isNumber('一'));84 org.junit.Assert.assertTrue(this.digitUtility.isNumber('十'));85 org.junit.Assert.assertTrue(this.digitUtility.isNumber('万'));86 org.junit.Assert.assertFalse(this.digitUtility.isNumber('あ'));87 }88// @Test89// void testIsComma() {90//91// // Assertions.fail('まだ実装されていません');92// }93//94//95 @Test96 void testIsDecimalPoint() {97 // Assertions.fail('まだ実装されていません');98 org.junit.Assert.assertTrue(this.digitUtility.isDecimalPoint('.'));99 }100//101//102// @Test103// void testIsRangeExpression() {104//105// // Assertions.fail('まだ実装されていません');106// }107//108//109// @Test110// void testConvertKansuji09ToValue() {111//112// // Assertions.fail('まだ実装されていません');...

Full Screen

Full Screen

Source:TestElement.java Github

copy

Full Screen

...3 */4package algos;5import static org.junit.Assert.assertEquals;6import static org.junit.Assert.assertFalse;7import static org.junit.Assert.assertTrue;8import static org.junit.Assert.fail;9import lombok.extern.slf4j.Slf4j;10import org.junit.Before;11import org.junit.Test;12import algos.lists.Element;13//Using lombok annotation for log4j handle14/**15 * @author vmurthy16 * 17 */18@Slf4j19public class TestElement {20 @Test(expected = NullPointerException.class) public void testNullCheck() {21 Element.of(null);22 fail("Should throw NPE...cannot succeed");23 }24 25 @Test(expected = NullPointerException.class) public void testNullInsertCheck() {26 Element.of(0).insert(null);27 fail("Should throw NPE...cannot succeed");28 }29 Element<Integer>[] e;30 @Before public void before() {31 e = Element.arrayOf(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);32 }33 @Test public void testInitialAssignmentsForLeftOrRight() {34 assertEquals(e[0].left(),e[0]);35 assertEquals(e[0].right(),e[0]);36 e[2].insertAfter(e[0]);37 38 //In case of 2 elements just think like they are diametrically opposite in a circular loop39 assertTrue(e[2].hasLeft());40 assertEquals(e[2].left(), e[0]);41 assertEquals(e[2].right(), e[0]);42 //In case of 2 elements just think like they are diametrically opposite in a circular loop43 assertTrue(e[0].hasRight());44 assertEquals(e[0].right(), e[2]);45 assertEquals(e[0].left(), e[2]);46 47 assertTrue(e[0].hasLeft());48 assertTrue(e[2].hasRight());49 e[1].insert(e[2]);50 assertEquals(e[1].right(), e[2]);51 assertEquals(e[1].left(), e[0]);52 assertEquals(e[0].right(), e[1]);53 assertEquals(e[2].left(), e[1]);54 55 assertTrue(e[0].hasLeft());56 assertTrue(e[1].hasLeft());57 assertTrue(e[1].hasRight());58 assertTrue(e[2].hasRight());59 60 assertEquals(e[2].right(), e[0]);61 assertEquals(e[0].left(), e[2]);62 }63 @Test public void testAllInserts() {64 for (int i = 1; i < e.length; i++)65 e[i].insertAfter(e[i - 1]);66 for (int i = 0; i < e.length - 1; i++)67 assertEquals(e[i].right(), e[i + 1]);68 for (int j = e.length - 1; j > 0; j--)69 assertEquals(e[j].left(), e[j - 1]);70 }71 @Test public void testDeletes() {72 for (int i = 1; i < e.length; i++)73 e[i].insertAfter(e[i - 1]);74 for (int i = 0; i < e.length - 1; i++) {75 e[i].delete();76 assertTrue(e[i].isZombie());77 if (i + 1 < e.length - 1) {78 assertTrue(e[i + 1].hasRight());79 assertTrue(e[i+1].hasLeft());80 log.debug("{}={} e[i+1].left= {} hasLeft={}",i+1,e[i+1],e[i+1].left(),e[i+1].hasLeft());81 //assertFalse((i+1)+"'th one messedup",e[i + 1].hasLeft());//b'cos e[i] is deleted82 }83 else {84 assertFalse(e[i + 1].hasRight());85 assertFalse(e[i + 1].hasLeft());86 }87 }88 }89 @Test public void testDeletesInMiddle() {90 for (int i = 1; i < e.length; i++)91 e[i].insertAfter(e[i - 1]);92 for (int i = e.length / 2 - 1, j = i + 1; i >= 0; i--, j++) {93 assertEquals(e[i].right(), e[j]);94 assertEquals(e[j].left(), e[i]);95 e[i].delete();96 assertTrue(e[i].isZombie());97 e[j].delete();98 assertTrue(e[j].isZombie());99 }100 for (int i = 0; i < e.length; i++)101 assertTrue(i+"'th element mesing up",e[i].isZombie());102 }103}...

Full Screen

Full Screen

assertTrue

Using AI Code Generation

copy

Full Screen

1import org.junit.Assert;2import org.junit.Test;3public class AssertTrueTest {4 public void testAssertTrue() {5 Assert.assertTrue("failure - should be true", true);6 }7}8 at org.junit.Assert.assertEquals(Assert.java:115)9 at org.junit.Assert.assertEquals(Assert.java:144)10 at org.junit.Assert.assertTrue(Assert.java:41)11 at org.junit.Assert.assertTrue(Assert.java:52)12 at org.junit.Assert.assertTrue(Assert.java:62)13 at AssertTrueTest.testAssertTrue(AssertTrueTest.java:13)14 at org.junit.Assert.assertEquals(Assert.java:115)15 at org.junit.Assert.assertEquals(Assert.java:144)16 at org.junit.Assert.assertTrue(Assert.java:41)17 at org.junit.Assert.assertTrue(Assert.java:52)18 at org.junit.Assert.assertTrue(Assert.java:62)19 at AssertTrueTest.testAssertTrue(AssertTrueTest.java:13)20The assertEquals() method is overloaded to compare two objects for equality, or two primitive values for equality. If the two objects are not equal, an AssertionError is thrown. If the two primitive values are not equal, an AssertionError is thrown. If the two primitive values are equal

Full Screen

Full Screen

assertTrue

Using AI Code Generation

copy

Full Screen

1import org.junit.Assert;2import org.junit.Test;3public class AssertTrueExample {4 public void testAssertTrue() {5 Assert.assertTrue(5 > 4);6 }7}8import org.junit.Assert;9import org.junit.Test;10public class AssertFalseExample {11 public void testAssertFalse() {12 Assert.assertFalse(5 > 6);13 }14}15import org.junit.Assert;16import org.junit.Test;17public class AssertEqualsExample {18 public void testAssertEquals() {19 Assert.assertEquals("Junit", "Junit");20 Assert.assertEquals(12, 12);21 Assert.assertEquals(12.12, 12.12, 0.0);22 }23}24import org.junit.Assert;25import org.junit.Test;26public class AssertArrayEqualsExample {27 public void testAssertArrayEquals() {28 byte[] expected = "trial".getBytes();29 byte[] actual = "trial".getBytes();30 Assert.assertArrayEquals("failure - byte arrays not same", expected, actual);31 }32}33import org.junit.Assert;34import org.junit.Test;35public class AssertNotEqualsExample {36 public void testAssertNotEquals() {37 Assert.assertNotEquals("Junit", "JUnit");38 Assert.assertNotEquals(12, 13);39 Assert.assertNotEquals(12.12, 13.13, 0.0);40 }41}42import org.junit.Assert;43import org.junit.Test;44public class AssertNullExample {45 public void testAssertNull() {46 String str = null;47 Assert.assertNull("failure - string should be null", str);48 }49}50import org.junit.Assert;51import

Full Screen

Full Screen

assertTrue

Using AI Code Generation

copy

Full Screen

1import static org.junit.Assert.*;2public void testAssertTrue() {3 assertTrue("failure - should be true", true);4}54.2.2. assertFalse()6import static org.junit.Assert.*;7public void testAssertFalse() {8 assertFalse("failure - should be false", false);9}104.2.3. assertEquals()11import static org.junit.Assert.*;12public void testAssertEquals() {13 assertEquals("failure - strings are not equal", "text", "text");14}154.2.4. assertNotEquals()16import static

Full Screen

Full Screen

assertTrue

Using AI Code Generation

copy

Full Screen

1public void testIsLeapYear() {2 assertTrue(Year.isLeapYear(2000));3 assertFalse(Year.isLeapYear(1900));4 assertTrue(Year.isLeapYear(2004));5 assertFalse(Year.isLeapYear(2005));6 assertFalse(Year.isLeapYear(2015));7}8package com.journaldev.junit;9public class Year {10 public static boolean isLeapYear(int year) {11 if (year % 4 != 0) {12 return false;13 } else if (year % 400 == 0) {14 return true;15 } else if (year % 100 == 0) {16 return false;17 } else {18 return true;19 }20 }21}22package com.journaldev.junit;23public class Factorial {24 public static int factorial(int n) {25 if (n < 0) {26 throw new IllegalArgumentException("n must be >= 0");27 }28 int result = 1;29 for (int i = 1; i <= n; i++) {30 result *= i;31 }32 return result;33 }34}35package com.journaldev.junit;36import static org.junit.Assert.*;37import org.junit.Test;38public class FactorialTest {39 public void testFactorial() {40 assertEquals(120, Factorial.factorial(5));41 assertEquals(1, Factorial.factorial(0));42 assertEquals(1, Factorial.factorial(1));43 }44}45package com.journaldev.junit;46public class Calculator {47 public static int add(int a, int b) {

Full Screen

Full Screen

assertTrue

Using AI Code Generation

copy

Full Screen

1public void testIsEmpty() {2 String str = "";3 assertTrue("String is empty", str.isEmpty());4}5public void testIsEmpty() {6 String str = "Hello";7 assertFalse("String is not empty", str.isEmpty());8}9public void testIsEmpty() {10 String str = "Hello";11 assertEquals("String is not empty", str.isEmpty());12}13public void testIsEmpty() {14 String str = "";15 assertNotEquals("String is empty", str.isEmpty());16}17public void testIsEmpty() {18 String str1 = "Hello";19 String str2 = "Hello";20 assertSame("String are same", str1, str2);21}22public void testIsEmpty() {23 String str1 = "Hello";24 String str2 = "Hello";25 assertNotSame("String are same", str1, str2);26}27public void testIsEmpty() {28 String str1 = null;29 assertNull("String is null", str1);30}31public void testIsEmpty() {32 String str1 = "Hello";33 assertNotNull("String is not null", str1);34}

Full Screen

Full Screen

assertTrue

Using AI Code Generation

copy

Full Screen

1package org.junit.Assert;2public class assertTrue {3 public static void main(String[] args) {4 boolean b = true;5 assertTrue(b);6 }7 public static boolean assertTrue(boolean b) {8 if (b) {9 return true;10 } else {11 return false;12 }13 }14 public static boolean assertTrue(Object o) {15 if (o != null) {16 return true;17 } else {18 return false;19 }20 }21}22package org.junit.Assert;23public class assertTrue {24 public static void main(String[] args) {25 boolean b = true;26 assertTrue(b);27 }28 public static boolean assertTrue(boolean b) {29 if (b) {30 return true;31 } else {32 return false;33 }34 }35 public static boolean assertTrue(Object o) {36 if (o != null) {37 return true;38 } else {39 return false;40 }41 }42}43package org.junit.Assert;44public class assertTrue {45 public static void main(String[] args) {46 boolean b = true;47 assertTrue(b);48 }49 public static boolean assertTrue(boolean b) {50 if (b) {51 return true;52 } else {53 return false;54 }55 }56 public static boolean assertTrue(Object o) {57 if (o != null) {58 return true;59 } else {60 return false;61 }62 }63}64package org.junit.Assert;65public class assertTrue {66 public static void main(String[] args) {67 boolean b = true;68 assertTrue(b);

Full Screen

Full Screen

assertTrue

Using AI Code Generation

copy

Full Screen

1public void testTotalPrice() {2 ShoppingCart cart = new ShoppingCart();3 assertTrue(cart.getTotalPrice() == 0.0);4}5[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ junit5-example ---6[ERROR] testTotalPrice(com.example.junit5.AppTest) Time elapsed: 0.002 s <<< ERROR!

Full Screen

Full Screen

JUnit Tutorial:

LambdaTest also has a detailed JUnit tutorial explaining its features, importance, advanced use cases, best practices, and more to help you get started with running your automation testing scripts.

JUnit Tutorial Chapters:

Here are the detailed JUnit testing chapters to help you get started:

  • Importance of Unit testing - Learn why Unit testing is essential during the development phase to identify bugs and errors.
  • Top Java Unit testing frameworks - Here are the upcoming JUnit automation testing frameworks that you can use in 2023 to boost your unit testing.
  • What is the JUnit framework
  • Why is JUnit testing important - Learn the importance and numerous benefits of using the JUnit testing framework.
  • Features of JUnit - Learn about the numerous features of JUnit and why developers prefer it.
  • JUnit 5 vs. JUnit 4: Differences - Here is a complete comparison between JUnit 5 and JUnit 4 testing frameworks.
  • Setting up the JUnit environment - Learn how to set up your JUnit testing environment.
  • Getting started with JUnit testing - After successfully setting up your JUnit environment, this chapter will help you get started with JUnit testing in no time.
  • Parallel testing with JUnit - Parallel Testing can be used to reduce test execution time and improve test efficiency. Learn how to perform parallel testing with JUnit.
  • Annotations in JUnit - When writing automation scripts with JUnit, we can use JUnit annotations to specify the type of methods in our test code. This helps us identify those methods when we run JUnit tests using Selenium WebDriver. Learn in detail what annotations are in JUnit.
  • Assertions in JUnit - Assertions are used to validate or test that the result of an action/functionality is the same as expected. Learn in detail what assertions are and how to use them while performing JUnit testing.
  • Parameterization in JUnit - Parameterized Test enables you to run the same automated test scripts with different variables. By collecting data on each method's test parameters, you can minimize time spent on writing tests. Learn how to use parameterization in JUnit.
  • Nested Tests In JUnit 5 - A nested class is a non-static class contained within another class in a hierarchical structure. It can share the state and setup of the outer class. Learn about nested annotations in JUnit 5 with examples.
  • Best practices for JUnit testing - Learn about the best practices, such as always testing key methods and classes, integrating JUnit tests with your build, and more to get the best possible results.
  • Advanced Use Cases for JUnit testing - Take a deep dive into the advanced use cases, such as how to run JUnit tests in Jupiter, how to use JUnit 5 Mockito for Unit testing, and more for JUnit testing.

JUnit Certification:

You can also check out our JUnit certification if you wish to take your career in Selenium automation testing with JUnit to the next level.

Run junit automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful