added docstrings wrap struct into tuple
Some checks failed
Build on RHEL8 / build (push) Failing after 3m42s
Build on RHEL9 / build (push) Failing after 3m41s

This commit is contained in:
2025-10-23 19:16:33 +02:00
parent dbffea15c0
commit df7b9be5a5
3 changed files with 27 additions and 7 deletions

View File

@@ -86,6 +86,17 @@ def test_calculate_eta():
assert eta2[1,0] == 0.5
assert eta2[1,1] == 0.4 #2/5
def test_max_sum():
"""Max 2x2 Sum"""
cluster = _aare.Cluster3x3i(5,5,np.array([1, 1, 1, 2, 3, 1, 2, 2, 1], dtype=np.int32))
max_sum = cluster.max_sum_2x2()
assert max_sum[0] == 9
assert max_sum[1] == 2
def test_cluster_finder():
"""Test ClusterFinder"""