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))
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))
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))
def test_loading_prainsa_object(self): loader(self.prainsa_object)
def test_loading_zipped_numpy_array_file(self): loader(self.zipped_numpy_array, None, 'example_data', 15, 100, 1)
def test_loading_v6_mat_file(self): loader(self.mat_v6, None, 'example_data', 15, 100, 1)