Coverage for biobb_pytorch/test/unitests/test_mdae/test_apply_mdae.py: 100%

11 statements  

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

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_pytorch.mdae.apply_mdae import applyMDAE 

4 

5 

6class TestApplyMdae: 

7 def setup_class(self): 

8 fx.test_setup(self, 'apply_mdae') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 

13 def test_apply_mdae(self): 

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

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

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

17 # assert fx.equal(self.paths['output_reconstructed_data_npy_path'], self.paths['ref_output_reconstructed_data_npy_path']) 

18 # assert fx.equal(self.paths['output_latent_space_npy_path'], self.paths['ref_output_latent_space_npy_path'])