Coverage for biobb_chemistry/test/unitests/test_acpype/test_acpype_amber2gmx.py: 100%

14 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-03-12 09:28 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_chemistry.acpype.acpype_convert_amber_to_gmx import acpype_convert_amber_to_gmx 

4 

5 

6class TestAcpypeAmber2GMX(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'acpype_convert_amber_to_gmx') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 pass 

13 

14 def test_amber2gmx(self): 

15 acpype_convert_amber_to_gmx(properties=self.properties, **self.paths) 

16 assert fx.not_empty(self.paths['output_path_gro']) 

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

18 assert fx.equal(self.paths['output_path_gro'], self.paths['ref_output_acpype_path_gro']) 

19 assert fx.equal(self.paths['output_path_top'], self.paths['ref_output_acpype_path_top'])