test_axographrawio.py 880 B

12345678910111213141516171819202122232425262728
  1. """
  2. Tests of neo.rawio.axographrawio
  3. """
  4. import unittest
  5. from neo.rawio.axographrawio import AxographRawIO
  6. from neo.test.rawiotest.common_rawio_test import BaseTestRawIO
  7. class TestAxographRawIO(BaseTestRawIO, unittest.TestCase):
  8. rawioclass = AxographRawIO
  9. files_to_download = [
  10. 'AxoGraph_Graph_File', # version 1 file, provided with AxoGraph
  11. 'AxoGraph_Digitized_File', # version 2 file, provided with AxoGraph
  12. 'AxoGraph_X_File.axgx', # version 5 file, provided with AxoGraph
  13. 'File_axograph.axgd', # version 6 file
  14. 'episodic.axgd',
  15. 'events_and_epochs.axgx',
  16. 'written-by-axographio-with-linearsequence.axgx',
  17. 'written-by-axographio-without-linearsequence.axgx',
  18. 'corrupt-comment.axgx',
  19. ]
  20. entities_to_test = files_to_download
  21. if __name__ == "__main__":
  22. unittest.main()