Coverage for biobb_analysis/test/unitests/test_gromacs/test_gmx_energy.py: 100%
12 statements
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-14 14:38 +0000
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-14 14:38 +0000
1# type: ignore
2from biobb_common.tools import test_fixtures as fx
3from biobb_analysis.gromacs.gmx_energy import gmx_energy
6class TestGMXEnergy():
7 def setup_class(self):
8 fx.test_setup(self, 'gmx_energy')
10 def teardown_class(self):
11 fx.test_teardown(self)
12 pass
14 def test_energy(self):
15 gmx_energy(properties=self.properties, **self.paths)
16 assert fx.not_empty(self.paths['output_xvg_path'])
17 assert fx.equal(self.paths['output_xvg_path'], self.paths['ref_output_xvg_path'])