()
| 16 | } |
| 17 | |
| 18 | fn fixture_dir() -> std::path::PathBuf { |
| 19 | Path::new(env!("CARGO_MANIFEST_DIR")) |
| 20 | .join("../../tests/fixtures/filters") |
| 21 | .canonicalize() |
| 22 | .expect("fixture dir") |
| 23 | } |
| 24 | |
| 25 | fn load_close() -> Vec<(NaiveDateTime, f64)> { |
| 26 | let path = fixture_dir().join("dollar_bar_sample.csv"); |