Coverage for biobb_chemistry/test/unitests/test_acpype/test_acpype_params_gmx_opls.py: 100%
12 statements
« prev ^ index » next coverage.py v7.6.12, created at 2025-03-12 09:28 +0000
« 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_params_gmx_opls import acpype_params_gmx_opls
4# import platform
7class TestAcpypeParamsGMXOPLS():
8 def setup_class(self):
9 fx.test_setup(self, 'acpype_params_gmx_opls')
11 def teardown_class(self):
12 fx.test_teardown(self)
13 # pass
15 def test_params_gmx_opls(self):
16 acpype_params_gmx_opls(properties=self.properties, **self.paths)
17 assert fx.not_empty(self.paths['output_path_itp'])
18 assert fx.not_empty(self.paths['output_path_top'])
19 # if platform.system() == 'Darwin':
20 # assert fx.equal(self.paths['output_path_itp'], self.paths['ref_output_acpype_path_itp'])
21 assert fx.equal(self.paths['output_path_top'], self.paths['ref_output_acpype_path_top'])