Skip to content

Commit

Permalink
add basic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Aug 17, 2023
1 parent 8d8dfcb commit bb41b5b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
19 changes: 19 additions & 0 deletions neo/test/iotest/test_intanbinaryio.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import unittest

from neo.io import IntanBinaryIO
from neo.test.iotest.common_io_test import BaseTestIO


class TestIntanBinaryIO(BaseTestIO, unittest.TestCase, ):
ioclass = IntanBinaryIO
entities_to_download = [
'intan'
]
entities_to_test = [
'intan/simulated_intan_230816_095232/',
'intan/simulated_intan_230816_182040/',
]


if __name__ == "__main__":
unittest.main()
20 changes: 20 additions & 0 deletions neo/test/rawiotest/test_intanbinaryrawio.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import unittest

from neo.rawio.intanbinaryrawio import IntanBinaryRawIO

from neo.test.rawiotest.common_rawio_test import BaseTestRawIO


class TestIntanBinaryRawIO(BaseTestRawIO, unittest.TestCase, ):
rawioclass = IntanBinaryRawIO
entities_to_download = [
'intan'
]
entities_to_test = [
'intan/simulated_intan_230816_095232/',
'intan/simulated_intan_230816_182040/',
]


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

0 comments on commit bb41b5b

Please sign in to comment.