30 analyzer = std::make_unique<chunk_metrics::ChunkQualityAnalyzer<double>>();
32 throw std::runtime_error(
"Failed to create analyzer");
37 std::vector<double>{5.0, 5.1, 5.2},
38 std::vector<double>{10.0, 10.1, 10.2}};
41 std::vector<double>{2.0, 2.1, 8.0},
42 std::vector<double>{3.0, 3.1, 9.0}};
46 if (chunk.empty() || chunk.size() > 1000000) {
47 throw std::runtime_error(
"Invalid test data in well_separated_chunks");
51 if (chunk.empty() || chunk.size() > 1000000) {
52 throw std::runtime_error(
"Invalid test data in mixed_cohesion_chunks");
56 }
catch (
const std::exception& e) {
57 FAIL() <<
"Setup failed: " << e.what();