Coverage for biobb_amber/test/unitests/test_leap/test_leap_gen_top.py: 100%

16 statements  

« prev     ^ index     » next       coverage.py v7.5.1, created at 2024-05-07 08:11 +0000

1from biobb_common.tools import test_fixtures as fx 

2from biobb_amber.leap.leap_gen_top import leap_gen_top 

3 

4 

5class TestLeapGenTop(): 

6 def setup_class(self): 

7 fx.test_setup(self, 'leap_gen_top') 

8 

9 def teardown_class(self): 

10 fx.test_teardown(self) 

11 pass 

12 

13 def test_leap_gen_top(self): 

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

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

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

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

18 assert fx.equal(self.paths['output_pdb_path'], self.paths['ref_output_pdb_path']) 

19 assert fx.equal(self.paths['output_top_path'], self.paths['ref_output_top_path']) 

20 assert fx.equal(self.paths['output_crd_path'], self.paths['ref_output_crd_path'])