Beispiel #1
0
 public void testN1() {
   T_if_icmpgt_1 t = new T_if_icmpgt_1();
   /*
    * Compare with 1234 to check that in case of failed comparison
    * execution proceeds at the address following if_acmpeq instruction
    */
   assertEquals(1234, t.run(5, 6));
 }
Beispiel #2
0
 public void testB2() {
   T_if_icmpgt_1 t = new T_if_icmpgt_1();
   assertEquals(1234, t.run(Integer.MIN_VALUE, Integer.MIN_VALUE));
 }