@Test
	public void creatingDoubleVariable() {
		Context c = new Context();
		DataFactory factory = new DataFactory();

		IVPNumber n = factory.createIVPNumber();
		n.setValueType(IVPValue.DOUBLE_TYPE);
		c.addDouble(n.getUniqueID(), 10.5);

		IVPVariable v = factory.createIVPVariable();
		v.setVariableType(IVPValue.DOUBLE_TYPE);
		v.setValueID(n.getUniqueID());

		HashMap map = new HashMap();
		map.put(v.getUniqueID(), v);
		map.put(n.getUniqueID(), n);

		IVPNumber result = (IVPNumber) v.evaluate(c, map, factory);
		assertTrue(c.getDouble(result.getUniqueID()) == 10.5);
	}