Skip to content

Commit

Permalink
Add more tests for cluster spatial recalc
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnlaffan committed Jun 2, 2024
1 parent b211c5b commit 45ddc01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/26-Cluster2.t
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ sub test_cluster_node_calcs {
[sort @lists1],
"Node lists differ after recalculation of indices";

is ((scalar grep {/>>/} @lists1), 46, 'output contained randomisation lists');
is ((scalar grep {/>>/} @lists2), 0, 'no randomisation lists remaining after recalc');

foreach my $node ($cl1->get_node_refs) {
my $sp_res_ref = $node->get_list_ref_aa('SPATIAL_RESULTS');
@sp_res_keys2{keys %$sp_res_ref} = undef;
Expand Down

0 comments on commit 45ddc01

Please sign in to comment.