Skip to content

Commit

Permalink
intermol conversion unit test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ctk3b committed May 14, 2015
1 parent e7dd77b commit 4d9fbcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mbuild/tests/test_compound.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_intermol_conversion1(self, ethane, h2o):
intermol_system = compound._to_intermol()
assert len(intermol_system.molecule_types) == 1
assert 'Compound' in intermol_system.molecule_types
assert len(intermol_system.molecule_types['Compound'].bond_forces) == 9
assert len(intermol_system.molecule_types['Compound'].bonds) == 9

assert len(intermol_system.molecule_types['Compound'].molecules) == 1
molecules = list(intermol_system.molecule_types['Compound'].molecules)
Expand All @@ -46,8 +46,8 @@ def test_intermol_conversion2(self, ethane, h2o):
assert len(intermol_system.molecule_types) == 2
assert 'Ethane' in intermol_system.molecule_types
assert 'H2O' in intermol_system.molecule_types
assert len(intermol_system.molecule_types['Ethane'].bond_forces) == 7
assert len(intermol_system.molecule_types['H2O'].bond_forces) == 2
assert len(intermol_system.molecule_types['Ethane'].bonds) == 7
assert len(intermol_system.molecule_types['H2O'].bonds) == 2

assert len(intermol_system.molecule_types['Ethane'].molecules) == 2
ethanes = list(intermol_system.molecule_types['Ethane'].molecules)
Expand Down

0 comments on commit 4d9fbcb

Please sign in to comment.