pub const DIR: &str = "classifier-v1";
pub const ADMISSION_REFUSALS_JSON: &str =
include_str!("../test-vectors/classifier-v1/admission-refusals.json");
pub const FIELD_PATHS_JSON: &str = include_str!("../test-vectors/classifier-v1/field-paths.json");
pub const ITEM_ERRORS_JSON: &str = include_str!("../test-vectors/classifier-v1/item-errors.json");
pub const PROVIDER_EXAMPLES_JSON: &str =
include_str!("../test-vectors/classifier-v1/provider-examples.json");
pub const QUESTION_CHOICE_JSON: &str =
include_str!("../test-vectors/classifier-v1/question-choice.json");
pub const QUESTION_NOUL_JSON: &str =
include_str!("../test-vectors/classifier-v1/question-noul.json");
pub const QUESTION_SCORE_JSON: &str =
include_str!("../test-vectors/classifier-v1/question-score.json");
pub const REPLAY_BATCH_ID_REUSE_JSON: &str =
include_str!("../test-vectors/classifier-v1/replay-batch-id-reuse.json");
pub const REPLAY_RETRY_JSON: &str = include_str!("../test-vectors/classifier-v1/replay-retry.json");
pub const ROLE_DESCRIBE_JSON: &str =
include_str!("../test-vectors/classifier-v1/role-describe.json");
pub const STATE_ARRAY_JSON: &str = include_str!("../test-vectors/classifier-v1/state-array.json");
pub const STATE_OBJECT_JSON: &str = include_str!("../test-vectors/classifier-v1/state-object.json");
pub const FILES: &[(&str, &str)] = &[
("admission-refusals.json", ADMISSION_REFUSALS_JSON),
("field-paths.json", FIELD_PATHS_JSON),
("item-errors.json", ITEM_ERRORS_JSON),
("provider-examples.json", PROVIDER_EXAMPLES_JSON),
("question-choice.json", QUESTION_CHOICE_JSON),
("question-noul.json", QUESTION_NOUL_JSON),
("question-score.json", QUESTION_SCORE_JSON),
("replay-batch-id-reuse.json", REPLAY_BATCH_ID_REUSE_JSON),
("replay-retry.json", REPLAY_RETRY_JSON),
("role-describe.json", ROLE_DESCRIBE_JSON),
("state-array.json", STATE_ARRAY_JSON),
("state-object.json", STATE_OBJECT_JSON),
];
pub const SHA256SUMS: &str = include_str!("../test-vectors/classifier-v1/SHA256SUMS");
pub fn file(name: &str) -> Option<&'static str> {
FILES
.iter()
.find(|(file, _)| *file == name)
.map(|(_, contents)| *contents)
}