Skip to content

Commit

Permalink
#659: Unit-test 'utest_kmedoids.totally_similar_data' correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
annoviko committed Nov 25, 2020
1 parent 19a1d6c commit 5b80a67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ccore/tst/utest-kmedoids.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ template_kmedoids_length_process_data(const dataset_ptr p_data,
return;
}

ASSERT_EQ(p_start_medoids.size(), actual_clusters.size());
ASSERT_LE(medoids.size(), p_start_medoids.size());
ASSERT_EQ(medoids.size(), actual_clusters.size());
ASSERT_CLUSTER_SIZES(data, actual_clusters, p_expected_cluster_length);
}

Expand Down

0 comments on commit 5b80a67

Please sign in to comment.