aboutsummaryrefslogtreecommitdiff
path: root/tests/test_neuralNetwork.py
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2023-05-13 19:44:54 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2023-05-13 19:44:54 +0200
commit2d895e4abb26eccefe6b4bc201fd60eb79600e3e (patch)
tree073ee74fd751fd3535d983275258e77adbf1de08 /tests/test_neuralNetwork.py
parentf9f150a644422714b16380e490db51989da53c61 (diff)
downloadimago-2d895e4abb26eccefe6b4bc201fd60eb79600e3e.tar.gz
imago-2d895e4abb26eccefe6b4bc201fd60eb79600e3e.zip
Added visualization of SGF example.
Diffstat (limited to 'tests/test_neuralNetwork.py')
-rw-r--r--tests/test_neuralNetwork.py15
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")