Coverage for biobb_ml/test/unitests/test_neural_networks/test_recurrent_neural_network.py: 100%
13 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-10-03 14:57 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-10-03 14:57 +0000
1from biobb_common.tools import test_fixtures as fx
2from biobb_ml.neural_networks.recurrent_neural_network import recurrent_neural_network
5class TestRecurrentNeuralNetwork():
6 def setup_class(self):
7 fx.test_setup(self, 'recurrent_neural_network')
9 def teardown_class(self):
10 fx.test_teardown(self)
11 pass
13 def test_recurrent_neural_network(self):
14 recurrent_neural_network(properties=self.properties, **self.paths)
15 assert fx.not_empty(self.paths['output_model_path'])
16 # assert fx.equal(self.paths['output_model_path'], self.paths['ref_output_model_path'])
17 assert fx.not_empty(self.paths['output_test_table_path'])
18 # assert fx.equal(self.paths['output_test_table_path'], self.paths['ref_output_test_table_path'])
19 assert fx.not_empty(self.paths['output_plot_path'])
20 # assert fx.equal(self.paths['output_plot_path'], self.paths['ref_output_plot_path'], percent_tolerance=10)