From 27a4a9b78c17495dadcad49756b4cb2a8ab6aeaf Mon Sep 17 00:00:00 2001 From: marjanalbouye Date: Tue, 29 Aug 2023 12:40:23 -0600 Subject: [PATCH] add unit test for ff_utils --- hoomd_organics/tests/utils/ff_utils.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hoomd_organics/tests/utils/ff_utils.py diff --git a/hoomd_organics/tests/utils/ff_utils.py b/hoomd_organics/tests/utils/ff_utils.py new file mode 100644 index 00000000..24b296ce --- /dev/null +++ b/hoomd_organics/tests/utils/ff_utils.py @@ -0,0 +1,10 @@ +from gmso.core.forcefield import ForceField + +from hoomd_organics.tests import BaseTest +from hoomd_organics.utils import xml_to_gmso_ff + + +class TestFFUtils(BaseTest): + def test_xml_to_gmso_ff(self, benzene_xml): + gmso_ff = xml_to_gmso_ff(benzene_xml) + assert isinstance(gmso_ff, ForceField)