Skip to content

Commit

Permalink
added tests for global bond_list
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudz committed Oct 30, 2023
1 parent e43f8ae commit f3bdb7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_gromacsparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def test_md_verbose(parser):
assert sec_systems[1].atoms.positions[800][1].magnitude == approx(2.4740036e-09)
assert sec_systems[0].atoms.velocities[500][0].magnitude == approx(869.4773)
assert sec_systems[1].atoms.lattice_vectors[2][2].magnitude == approx(2.469158e-09)
assert sec_systems[0].atoms.bond_list[200][0] == 289

sec_method = sec_run.method
assert len(sec_method) == 1
Expand Down
1 change: 1 addition & 0 deletions tests/test_lammpsparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def test_nvt(parser):
assert sec_system[5].atoms.lattice_vectors[1][1].magnitude == approx(2.24235e-09)
assert False not in sec_system[0].atoms.periodic
assert sec_system[80].atoms.labels[91:96] == ['H', 'H', 'H', 'C', 'C']
assert sec_system[0].atoms.bond_list[200][0] == 194

sec_scc = sec_run.calculation
assert len(sec_scc) == 201
Expand Down

0 comments on commit f3bdb7a

Please sign in to comment.