Skip to content

Commit 800368c

Browse files
authored
Create test_neurotemporal_processing_unit.py
1 parent 4bbd3e7 commit 800368c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import unittest
2+
from src.core.neurotemporal_processing_unit import NeurotemporalProcessingUnit
3+
4+
class TestNeurotemporalProcessingUnit(unittest.TestCase):
5+
def test_process_neurotemporal_data(self):
6+
ntpu = NeurotemporalProcessingUnit(KnowledgeGraph(), NeuralNetwork(), QuantumProcessor(), ExoticMatterEnergyConverter())
7+
data = np.random.rand(100, 100)
8+
result = ntpu.process_neurotemporal_data(data)
9+
self.assertIsInstance(result, np.ndarray)
10+
11+
if __name__ == '__main__':
12+
unittest.main()

0 commit comments

Comments
 (0)