(left: f64, right: f64, tol: f64)
| 5 | use ordered_float::OrderedFloat; |
| 6 | |
| 7 | fn assert_close(left: f64, right: f64, tol: f64) { |
| 8 | assert!( |
| 9 | (left - right).abs() <= tol, |
| 10 | "left={left}, right={right}, tol={tol}" |
| 11 | ); |
| 12 | } |
| 13 | |
| 14 | #[test] |
| 15 | fn estimate_market_impact_buy_with_partial_last_level() { |
no outgoing calls
no test coverage detected