@@ -0,0 +1,1222 @@
+package etomica.osmoticvirial;%0A%0Aimport etomica.data.meter.MeterPotentialEnergy;%0Aimport etomica.liquidLJ.LjMC3D;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.*;%0A%0Apublic class MCMoveGeometricClusterTest %7B%0A    private LjMC3D ljMC3D;%0A    private MCMoveGeometricCluster mcMoveGeometricCluster;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        ljMC3D = new LjMC3D(200,2,0.7,3);%0A        ljMC3D.ai.setMaxSteps(10000);%0A        ljMC3D.getController().actionPerformed();%0A%0A    %7D%0A    @Test%0A    public void energyChange() throws Exception %7B%0A        mcMoveGeometricCluster = new MCMoveGeometricCluster(ljMC3D.potentialMasterCell, ljMC3D.getSpace(),%0A                ljMC3D.getRandom(), ljMC3D.integrator, null);%0A        MeterPotentialEnergy meterPE = new MeterPotentialEnergy(ljMC3D.potentialMasterCell);%0A        meterPE.setBox(ljMC3D.box);%0A        double oldE = meterPE.getDataAsScalar();%0A        mcMoveGeometricCluster.setBox(ljMC3D.box);%0A        mcMoveGeometricCluster.doTrial();%0A        double newE = meterPE.getDataAsScalar();%0A        double expected = newE-oldE;%0A        double actual = mcMoveGeometricCluster.energyChange();%0A        assertEquals(expected, actual, 1e-12);%0A    %7D%0A%0A%0A%7D

change made to integrator.setGlobalMoveInterval