//SensorLookup lookup = new SensorLookupImpl(map);
try {
Vector v = new Vector();
v.add(new ShortConstant(sn1));
Expression e1 = new Ceiling(v,true);
v.clear();
v.add(new IntegerConstant(in1));
Expression e2 = new Ceiling(v,true);
v.clear();
v.add(new LongConstant(ln1));
Expression e3 = new Ceiling(v,true);
v.clear();
v.add(new FloatConstant(fn1));
Expression e4 = new Ceiling(v,true);
v.clear();
v.add(new DoubleConstant(dn1));
Expression e5 = new Ceiling(v,true);
assertTrue(
(Math.ceil(sn1) - ((Number) e1.evaluate()).shortValue())
== 0);
assertTrue(
(Math.ceil(in1) - ((Number) e2.evaluate()).intValue())
== 0);
assertTrue(
(Math.ceil(ln1) - ((Number) e3.evaluate()).intValue())
== 0);
assertTrue(
(Math.ceil(fn1) - ((Number) e4.evaluate()).intValue())
== 0);
assertTrue(
(Math.ceil(dn1) - ((Number) e5.evaluate()).longValue())
== 0);
/*
assertSame((new Double(sn1)).getClass(), (e1.evaluate()).getClass());
assertSame((new Double(in1)).getClass(), (e2.evaluate()).getClass());
assertSame((new Double(ln1)).getClass(), (e3.evaluate()).getClass());