Skip to content

Commit

Permalink
Create test_neurotemporal_processing_unit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 17, 2024
1 parent 4bbd3e7 commit 800368c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_neurotemporal_processing_unit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import unittest
from src.core.neurotemporal_processing_unit import NeurotemporalProcessingUnit

class TestNeurotemporalProcessingUnit(unittest.TestCase):
def test_process_neurotemporal_data(self):
ntpu = NeurotemporalProcessingUnit(KnowledgeGraph(), NeuralNetwork(), QuantumProcessor(), ExoticMatterEnergyConverter())
data = np.random.rand(100, 100)
result = ntpu.process_neurotemporal_data(data)
self.assertIsInstance(result, np.ndarray)

if __name__ == '__main__':
unittest.main()

0 comments on commit 800368c

Please sign in to comment.