from biobb_common.tools import test_fixtures as fx
from biobb_analysis.ambertools.cpptraj_convert import cpptraj_convert


class TestCpptrajConvert():
    def setUp(self):
        fx.test_setup(self,'cpptraj_convert')

    def tearDown(self):
        fx.test_teardown(self)
        pass

    def test_convert(self):
        cpptraj_convert(properties=self.properties, **self.paths)
        assert fx.not_empty(self.paths['output_cpptraj_path'])
        assert fx.equal(self.paths['output_cpptraj_path'], self.paths['ref_output_cpptraj_path'])

from biobb_common.tools import test_fixtures as fx
from biobb_analysis.ambertools.cpptraj_convert import cpptraj_convert


class TestCpptrajConvert():
    def setUp(self):
        fx.test_setup(self,'cpptraj_convert')

    def tearDown(self):
        fx.test_teardown(self)
        pass

    def test_convert(self):
        cpptraj_convert(properties=self.properties, **self.paths)
        assert fx.not_empty(self.paths['output_cpptraj_path'])
        assert fx.equal(self.paths['output_cpptraj_path'], self.paths['ref_output_cpptraj_path'])
