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