diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2023-05-13 19:44:54 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2023-05-13 19:44:54 +0200 |
commit | 2d895e4abb26eccefe6b4bc201fd60eb79600e3e (patch) | |
tree | 073ee74fd751fd3535d983275258e77adbf1de08 /tests/test_neuralNetwork.py | |
parent | f9f150a644422714b16380e490db51989da53c61 (diff) | |
download | imago-2d895e4abb26eccefe6b4bc201fd60eb79600e3e.tar.gz imago-2d895e4abb26eccefe6b4bc201fd60eb79600e3e.zip |
Added visualization of SGF example.
Diffstat (limited to 'tests/test_neuralNetwork.py')
-rw-r--r-- | tests/test_neuralNetwork.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test_neuralNetwork.py b/tests/test_neuralNetwork.py new file mode 100644 index 0000000..dfcbd7a --- /dev/null +++ b/tests/test_neuralNetwork.py @@ -0,0 +1,15 @@ +"""Tests for neural network module.""" + +import unittest + +from imago.engine.keras.neuralNetwork import NeuralNetwork + +class TestNeuralNetwork(unittest.TestCase): + """Test neural network module.""" + + def testLoadBaseClass(self): + """Test error when creating model with the base NeuralNetwork class""" + + self.assertRaises(NotImplementedError, + NeuralNetwork, + "non/existing/file") |