Coverage for biobb_analysis/test/unitests/test_gromacs/test_gmx_energy.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.5.1, created at 2024-05-06 15:22 +0000

1from biobb_common.tools import test_fixtures as fx 

2from biobb_analysis.gromacs.gmx_energy import gmx_energy 

3 

4 

5class TestGMXEnergy(): 

6 def setup_class(self): 

7 fx.test_setup(self, 'gmx_energy') 

8 

9 def teardown_class(self): 

10 fx.test_teardown(self) 

11 pass 

12 

13 def test_energy(self): 

14 gmx_energy(properties=self.properties, **self.paths) 

15 assert fx.not_empty(self.paths['output_xvg_path']) 

16 assert fx.equal(self.paths['output_xvg_path'], self.paths['ref_output_xvg_path'])