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

		IVPNumber n1 = factory.createIVPNumber();
		n1.setValueType(IVPValue.DOUBLE_TYPE);
		c.addDouble(n1.getUniqueID(), 10.37);

		IVPNumber n2 = factory.createIVPNumber();
		n2.setValueType(IVPValue.DOUBLE_TYPE);
		c.addDouble(n2.getUniqueID(), 31.33333);

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

		// Supondo varivel j inicializada com o valor 10.

		AttributionLine attLine = factory.createAttributionLine();
		attLine.setVariable(v.getUniqueID());
		attLine.setExpression(n2.getUniqueID());

		HashMap map = new HashMap();
		map.put(v.getUniqueID(), v);
		map.put(n1.getUniqueID(), n1);
		map.put(n2.getUniqueID(), n2);
		map.put(attLine.getUniqueID(), attLine);

		assertTrue(c.getDouble(v.getValueID()) == 10.37);
		attLine.evaluate(c, map, factory);
		assertTrue(c.getDouble(v.getValueID()) == 31.33333);
	}