Function ensure_test_data_exists

Source
pub fn ensure_test_data_exists(filename: &str, url: &str) -> PathBuf
Expand description

Ensures that the specified test data file exists locally by downloading it if necessary, using the provided url.

§Panics

Panics if the download or checksum verification fails, or if the resulting path cannot be represented as a valid UTF-8 string.