예제 #1
0
 public void testGreaterThan() {
   assertTrue(ScriptBytecodeAdapter.compareGreaterThan(new Integer(3), new Integer(2)));
   assertTrue(ScriptBytecodeAdapter.compareGreaterThanEqual(new Integer(2), new Integer(2)));
 }
예제 #2
0
 public void testLessThan() {
   assertTrue(ScriptBytecodeAdapter.compareLessThan(new Integer(1), new Integer(2)));
   assertTrue(ScriptBytecodeAdapter.compareLessThanEqual(new Integer(2), new Integer(2)));
 }