//SensorLookup lookup = new SensorLookupImpl(map);
try {
Vector v = new Vector();
v.add(new StringConstant(s1));
Expression es1 = new ToREAL64(v,true);
v.clear();
v.add(new StringConstant(s2));
Expression es2 = new ToREAL64(v,true);
v.clear();
v.add(new DoubleConstant(dn1.doubleValue()));
Expression edn1 = new ToREAL64(v,true);
v.clear();
v.add(new DoubleConstant(dn2.doubleValue()));
Expression edn2 = new ToREAL64(v,true);
v.clear();
v.add(propertySensor1);
Expression eps1 = new ToREAL64(v,true);
v.clear();
v.add(propertySensor2);
Expression eps2 = new ToREAL64(v,true);
v.clear();
v.add(propertySensor3);
Expression eps3 = new ToREAL64(v,true);
v.clear();
v.add(propertySensor4);
Expression eps4 = new ToREAL64(v,true);
assertTrue(((Double) es1.evaluate()).equals(dn1));
assertTrue(((Double) es2.evaluate()).equals(dn2));
assertFalse(((Double) es1.evaluate()).equals(dn2));
assertTrue(((Double) edn1.evaluate()).equals(dn1));
assertTrue(((Double) edn2.evaluate()).equals(dn2));
assertFalse(((Double) edn1.evaluate()).equals(dn2));
s1 = s1.substring(1, s1.length()-1);
assertTrue(((Double) eps1.evaluate()).equals(new Double(s1)));
s2 = s2.substring(1, s2.length()-1);
assertTrue(((Double) eps2.evaluate()).equals(new Double(s2)));
assertTrue(((Double) eps3.evaluate()).equals(dn1));
assertTrue(((Double) eps4.evaluate()).equals(dn2));
assertSame(dn1.getClass(), (edn1.evaluate()).getClass());
} catch (SPLException e) {
fail("Received evaluation exception " + e.getMessage());
} catch (Exception e) {