Coverage for biobb_gromacs / test / unitests / test_gromacs / test_grompp.py: 100%
13 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-05 08:26 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-05 08:26 +0000
1# type: ignore
2from biobb_common.tools import test_fixtures as fx
3from biobb_gromacs.gromacs.grompp import grompp
4from biobb_gromacs.gromacs.common import gmx_check
7class TestGrompp():
8 def setup_class(self):
9 fx.test_setup(self, 'grompp')
11 def teardown_class(self):
12 # pass
13 fx.test_teardown(self)
15 def test_grompp(self):
16 returncode = grompp(properties=self.properties, **self.paths)
17 assert fx.not_empty(self.paths['output_tpr_path'])
18 assert gmx_check(self.paths['output_tpr_path'], self.paths['ref_output_tpr_path'], gmx=self.properties.get('binary_path', 'gmx'))
19 assert fx.exe_success(returncode)