Example #1
0
 def test_confirm_mat_file_older_version(self):
     v73 = loader(self.mat_v73, None, 'example_data', 15, 100, 1)
     v6 = loader(self.mat_v6, None, 'example_data', 15, 100, 1)
     assert (sum(sum(v73.dataset == v6.dataset)) == (15 * 5000))
Example #2
0
 def test_confirm_mat_file_prainsa_object(self):
     v73 = loader(self.mat_v73, None, 'example_data', 15, 100, 1)
     prainsa_object = loader(self.prainsa_object)
     assert (sum(sum(v73.dataset == prainsa_object.dataset)) == (15 * 5000))
Example #3
0
 def test_confirm_mat_file_zipped_numpy_file(self):
     v73 = loader(self.mat_v73, None, 'example_data', 15, 100, 1)
     zipped_np_array = loader(self.numpy_array, None, 'example_data', 15,
                              100, 1)
     assert (sum(sum(v73.dataset == zipped_np_array.dataset)) == (15 *
                                                                  5000))
Example #4
0
 def test_loading_prainsa_object(self):
     loader(self.prainsa_object)
Example #5
0
 def test_loading_zipped_numpy_array_file(self):
     loader(self.zipped_numpy_array, None, 'example_data', 15, 100, 1)
Example #6
0
 def test_loading_v6_mat_file(self):
     loader(self.mat_v6, None, 'example_data', 15, 100, 1)