public void checkEqualExpressionWithNumericArgumentsShortAgainstInteger() {
////HashMap map = new HashMap();
propertySensor1=new ShortConstant((short) 500);
propertySensor2=new IntegerConstant(500);
propertySensor3=new IntegerConstant(499);
propertySensor4=new IntegerConstant(501);
propertySensor5=new IntegerConstant(501);
//propertySensor1=new Short((short) 500));
//propertySensor2=new IntegerConstant(500));
//propertySensor3=new IntegerConstant(499));
//propertySensor4=new IntegerConstant(501));
//propertySensor5=new IntegerConstant(501));
//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 IntegerConstant(500));
Expression expressionIntegerConstant1 = new Equal(v,true);
//Constant (not equal)
v.clear();
v.add(new ShortConstant((short) - 100));
v.add(new IntegerConstant(100));
Expression expressionIntegerConstant2 = new Equal(v,true);
assertTrue(
((Boolean) expression12.evaluate()).booleanValue());
assertFalse(