diff --git a/hoomd_organics/tests/base/test_simulation.py b/hoomd_organics/tests/base/test_simulation.py index 9f624161..4f594f46 100644 --- a/hoomd_organics/tests/base/test_simulation.py +++ b/hoomd_organics/tests/base/test_simulation.py @@ -11,9 +11,18 @@ class TestSimulate(BaseTest): def test_initialize_from_system(self, benzene_system): sim = Simulation.from_system(benzene_system) + sim.run_NVT(kT=1.0, tau_kt=0.01, n_steps=500) assert len(sim.forces) == len(benzene_system.hoomd_forcefield) assert sim.reference_values == benzene_system.reference_values + def test_initialize_from_system_no_ff( + self, benzene_cg_system, cg_single_bead_ff + ): + sim = Simulation.from_system( + benzene_cg_system, forcefield=cg_single_bead_ff + ) + sim.run_NVT(kT=0.1, tau_kt=10, n_steps=500) + def test_initialize_from_state(self, benzene_system): Simulation.from_state( initial_state=benzene_system.hoomd_snapshot,