message: Add flattened cells test
diff: @@ -38,3 +38,13 @@ def test_simple_constructor_from_top_cells_list():
  assert len(diagsH0H1) == 10
  for idx in range(10):
  np.testing.assert_array_equal(diags[idx], diagsH0H1[idx][0])
  +
  +def test_simple_constructor_from_flattened_cells():
  + cells = datasets.load_digits().images[0]
  + # Not squared (extended) flatten cells
  + cells = np.hstack((cells, np.zeros((cells.shape[0], 2)))).flatten()
  +
  + cp = CubicalPersistence(persistence_dimension=0, dimensions=[10, 8])
  + diags = cp.fit_transform([cells])
  +
  + np.testing.assert_array_equal(diags[0], CUBICAL_PERSISTENCE_H0_IMG0)
  