from biobb_common.tools import test_fixtures as fx
from biobb_amber.sander.sander_mdrun import sander_mdrun

class TestSanderMDRun():
    def setUp(self):
        fx.test_setup(self, 'sander_mdrun')

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

    def test_sander_mdrun(self):
        sander_mdrun(properties=self.properties, **self.paths)
        assert fx.not_empty(self.paths['output_log_path'])
        assert fx.not_empty(self.paths['output_rst_path'])
        assert fx.not_empty(self.paths['output_traj_path'])
        #assert fx.equal(self.paths['output_traj_path'], self.paths['ref_output_traj_path'])
        #assert fx.equal(self.paths['output_rst_path'], self.paths['ref_output_rst_path'])

from biobb_common.tools import test_fixtures as fx
from biobb_amber.sander.sander_mdrun import sander_mdrun

class TestSanderMDRun():
    def setUp(self):
        fx.test_setup(self, 'sander_mdrun')

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

    def test_sander_mdrun(self):
        sander_mdrun(properties=self.properties, **self.paths)
        assert fx.not_empty(self.paths['output_log_path'])
        assert fx.not_empty(self.paths['output_rst_path'])
        assert fx.not_empty(self.paths['output_traj_path'])
        #assert fx.equal(self.paths['output_traj_path'], self.paths['ref_output_traj_path'])
        #assert fx.equal(self.paths['output_rst_path'], self.paths['ref_output_rst_path'])

#assert fx.equal(self.paths['output_traj_path'], self.paths['ref_output_traj_path']) #assert fx.equal(self.paths['output_rst_path'], self.paths['ref_output_rst_path'])