public void checkEqualExpressionWithNumericArgumentsShortAgainstLong() {
//HashMap map = new HashMap();
propertySensor1=new ShortConstant((short) 500);
propertySensor2=new LongConstant(500);
propertySensor3=new LongConstant(499);
propertySensor4=new LongConstant(501);
propertySensor5=new LongConstant(-500);
//SensorLookup lookup = new SensorLookupImpl(map);
Vector v = new Vector();
try {
//propertySensor1 == propertySensor2
v.add(propertySensor1);
v.add(propertySensor2);
Expression expression12 = new Equal(v,true);
//propertySensor1 != propertySensor3
v.clear();
v.add(propertySensor1);
v.add(propertySensor3);
Expression expression13 = new Equal(v,true);
//propertySensor1 != propertySensor4
v.clear();
v.add(propertySensor1);
v.add(propertySensor4);
Expression expression14 = new Equal(v,true);
//propertySensor1 != propertySensor5
v.clear();
v.add(propertySensor1);
v.add(propertySensor5);
Expression expression15 = new Equal(v,true);
//One sensor w/ one Constant (equal)
v.clear();
v.add(propertySensor1);
v.add(new LongConstant(500));
Expression expressionIntegerConstant1 = new Equal(v,true);
//Two Constants (not equal)
v.clear();
v.add(new ShortConstant((short) - 100));
v.add(new LongConstant(100));
Expression expressionIntegerConstant2 = new Equal(v,true);
assertTrue(
((Boolean) expression12.evaluate()).booleanValue());
assertFalse(