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