Skip to content

Commit

Permalink
add unit test for ff_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
marjanalbooyeh committed Aug 29, 2023
1 parent 0532585 commit 27a4a9b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hoomd_organics/tests/utils/ff_utils.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 27a4a9b

Please sign in to comment.