use std::path::{Path, PathBuf};
pub fn fixture_path<P: AsRef<Path>>(path: P) -> PathBuf {
Path::new(env!("CARGO_MANIFEST_DIR")).join(path)
}
pub fn read_fixture<P: AsRef<Path>>(path: P) -> Vec<u8> {
std::fs::read(&fixture_path(path)).expect("error reading file contents")
}