def METHOD_NAME(lattice_snapshot_factory, simulation_factory):
    """Run a short minimization simulation."""
    snap = lattice_snapshot_factory(a=1.5, n=8)
    sim = simulation_factory(snap)
    lj = md.pair.LJ(default_r_cut=2.5, nlist=md.nlist.Cell(buffer=0.4))
    lj.params[('A', 'A')] = dict(sigma=1.0, epsilon=1.0)
    nve = md.methods.ConstantVolume(hoomd.filter.All())
    fire = md.minimize.FIRE(dt=0.0025,
                            force_tol=1e-1,
                            angmom_tol=1e-1,
                            energy_tol=1e-5,
                            methods=[nve],
                            forces=[lj],
                            min_steps_conv=3)
    sim.operations.integrator = fire
    assert not fire.converged
    sim.run(0)
    initial_energy = fire.energy
    steps_to_converge = 0
    while not fire.converged:
        sim.run(1)
        steps_to_converge += 1
    assert initial_energy >= fire.energy
    assert steps_to_converge >= fire.min_steps_conv
    fire.reset()