Browse Source

Update tests

feature/load_slices
Ruben Verweij 8 years ago
parent
commit
e4550bce79
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tests/test_reader.py

+ 3
- 0
tests/test_reader.py View File

@ -13,6 +13,9 @@ class TestReader(unittest.TestCase):
path.join(dir_path, 'test_data/data002.nd2') path.join(dir_path, 'test_data/data002.nd2')
] ]
def test_extension(self):
self.assertTrue('nd2' in ND2Reader.class_exts())
def test_sizes_data_001(self): def test_sizes_data_001(self):
with ND2Reader(self.files[0]) as reader: with ND2Reader(self.files[0]) as reader:
self.assertEqual(reader.sizes['x'], 128) self.assertEqual(reader.sizes['x'], 128)


Loading…
Cancel
Save