()
| 516 | |
| 517 | #[test] |
| 518 | fn min_max_correctness() { |
| 519 | let rt = ts_runtime(); |
| 520 | let values: Vec<f64> = (0..1000).map(|i| (i as f64) - 500.0).collect(); |
| 521 | assert!(((rt.min_f64)(&values) - (-500.0)).abs() < f64::EPSILON); |
| 522 | assert!(((rt.max_f64)(&values) - 499.0).abs() < f64::EPSILON); |
| 523 | } |
| 524 | |
| 525 | #[test] |
| 526 | fn range_filter_correctness() { |
nothing calls this directly
no test coverage detected