pub const DIR: &str = "model-batch-v1";
pub const ESTIMATES_JSON: &str = include_str!("../test-vectors/model-batch-v1/estimates.json");
pub const IMAGES_JSON: &str = include_str!("../test-vectors/model-batch-v1/images.json");
pub const STATUS_MAPPING_JSON: &str =
include_str!("../test-vectors/model-batch-v1/status-mapping.json");
pub const VOCABULARY_JSON: &str = include_str!("../test-vectors/model-batch-v1/vocabulary.json");
pub const FILES: &[(&str, &str)] = &[
("estimates.json", ESTIMATES_JSON),
("images.json", IMAGES_JSON),
("status-mapping.json", STATUS_MAPPING_JSON),
("vocabulary.json", VOCABULARY_JSON),
];
pub const SHA256SUMS: &str = include_str!("../test-vectors/model-batch-v1/SHA256SUMS");
pub fn file(name: &str) -> Option<&'static str> {
FILES
.iter()
.find(|(file, _)| *file == name)
.map(|(_, contents)| *contents)
}