Coverage for biobb_amber/test/unitests/test_cpptraj/test_cpptraj_randomize_ions.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.6.10, created at 2025-01-28 08:28 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_amber.cpptraj.cpptraj_randomize_ions import cpptraj_randomize_ions 

4 

5 

6class TestCpptrajRandomizeIons(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'cpptraj_randomize_ions') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 pass 

13 

14 def test_cpptraj_randomize_ions(self): 

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

16 assert fx.not_empty(self.paths['output_pdb_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_crd_path'], self.paths['ref_output_crd_path'])