()
| 149 | |
| 150 | #[tokio::test(flavor = "multi_thread")] |
| 151 | async fn test_max() { |
| 152 | let data_gen_config = baseline_config(); |
| 153 | |
| 154 | // Queries like SELECT max(a) FROM fuzz_table GROUP BY b |
| 155 | let query_builder = QueryBuilder::new() |
| 156 | .with_table_name("fuzz_table") |
| 157 | .with_aggregate_function("max") |
| 158 | // max works on all column types |
| 159 | .with_aggregate_arguments(data_gen_config.all_columns()) |
| 160 | .with_dataset_sort_keys(data_gen_config.sort_keys_set.clone()) |
| 161 | .set_group_by_columns(data_gen_config.all_columns()); |
| 162 | |
| 163 | AggregationFuzzerBuilder::from(data_gen_config) |
| 164 | .add_query_builder(query_builder) |
| 165 | .build() |
| 166 | .run() |
| 167 | .await; |
| 168 | } |
| 169 | |
| 170 | #[tokio::test(flavor = "multi_thread")] |
| 171 | async fn test_sum() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…