Skip to content

Commit b8d8c3a

Browse files
committed
Added tests
1 parent 86af342 commit b8d8c3a

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

neo/test/iotest/test_biocam.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"""
2+
Tests of neo.io.BiocamIO
3+
"""
4+
5+
import unittest
6+
7+
from neo.io import BiocamIO
8+
from neo.test.iotest.common_io_test import BaseTestIO
9+
10+
11+
class TestBiocamIO(BaseTestIO, unittest.TestCase, ):
12+
ioclass = BiocamIO
13+
entities_to_download = [
14+
'biocam'
15+
]
16+
entities_to_test = [
17+
'biocam/test_biocam.brw'
18+
]
19+
20+
21+
if __name__ == "__main__":
22+
unittest.main()

neo/test/rawiotest/test_biocam.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"""
2+
Tests of neo.rawio.BiocamRawIO
3+
"""
4+
5+
import unittest
6+
7+
from neo.rawio.biocamrawio import BiocamRawIO
8+
from neo.test.rawiotest.common_rawio_test import BaseTestRawIO
9+
10+
11+
class TestBiocamRawIO(BaseTestRawIO, unittest.TestCase, ):
12+
rawioclass = BiocamRawIO
13+
14+
entities_to_download = [
15+
'biocam/test_biocam.brw'
16+
]
17+
18+
entities_to_download = [
19+
'biocam',
20+
]
21+
22+
23+
if __name__ == "__main__":
24+
unittest.main()

0 commit comments

Comments
 (0)