3031323334353637383940
}); } @Test public void IntegerWrapper() throws Exception { test(new Scriptable() { Class act() { return Integer.class; } });
4041424344454647484950
}); } @Test public void IntegerPrimitiveAndWrapper() throws Exception { test(new Scriptable() { boolean act() { assert Integer.class != int.class; return Integer.class == int.class; }
5152535455565758596061
}); } @Test public void LongPrimitive() throws Exception { test(new Scriptable() { Class act() { return long.class; } });
6162636465666768697071
}); } @Test public void LongWrapper() throws Exception { test(new Scriptable() { Class act() { return Long.class; } });
7172737475767778798081
}); } @Test public void LongPrimitiveAndWrapper() throws Exception { test(new Scriptable() { boolean act() { assert Long.class != long.class; return Long.class == long.class; }
8283848586878889909192
}); } @Test public void FloatPrimitive() throws Exception { test(new Scriptable() { Class act() { return float.class; } });
9293949596979899100101102
}); } @Test public void FloatWrapper() throws Exception { test(new Scriptable() { Class act() { return Float.class; } });
102103104105106107108109110111112
}); } @Test public void FloatPrimitiveAndWrapper() throws Exception { test(new Scriptable() { boolean act() { assert Float.class != float.class; return Float.class == float.class; }
113114115116117118119120121122123
}); } @Test public void DoublePrimitive() throws Exception { test(new Scriptable() { Class act() { return double.class; } });
123124125126127128129130131132133
}); } @Test public void DoubleWrapper() throws Exception { test(new Scriptable() { Class act() { return Double.class; } });