Coverage for biobb_analysis/test/unitests/test_gromacs/test_gmx_rms.py: 93%

14 statements  

« 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_rms import gmx_rms 

4import platform 

5 

6 

7class TestGMXRms(): 

8 def setup_class(self): 

9 fx.test_setup(self, 'gmx_rms') 

10 

11 def teardown_class(self): 

12 fx.test_teardown(self) 

13 pass 

14 

15 def test_rms(self): 

16 gmx_rms(properties=self.properties, **self.paths) 

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

18 if platform.system() == 'Darwin': 

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