This commit is contained in:
froejdh_e 2025-04-10 16:58:47 +02:00
parent 113f34cc98
commit 92f5421481

View File

@ -5,6 +5,12 @@ import aare._aare as aare
from conftest import test_data_path
def test_cluster_vector_can_be_converted_to_numpy():
cv = aare.ClusterVector_Cluster3x3i()
arr = np.array(cv, copy=False)
assert arr.shape == (0,) # 4 for x, y, size, energy and 9 for the cluster data
def test_ClusterVector():
"""Test ClusterVector"""