use cedar_policy::integration_testing::perform_integration_test_from_json;
use std::path::Path;
fn folder() -> &'static Path {
Path::new("tests/example_use_cases_doc")
}
#[test]
fn scenario_1a() {
perform_integration_test_from_json(folder().join("1a.json"));
}
#[test]
fn scenario_2a() {
perform_integration_test_from_json(folder().join("2a.json"));
}
#[test]
fn scenario_2b() {
perform_integration_test_from_json(folder().join("2b.json"));
}
#[test]
fn scenario_2c() {
perform_integration_test_from_json(folder().join("2c.json"));
}
#[test]
fn scenario_3a() {
perform_integration_test_from_json(folder().join("3a.json"));
}
#[test]
fn scenario_3b() {
perform_integration_test_from_json(folder().join("3b.json"));
}
#[test]
fn scenario_3c() {
perform_integration_test_from_json(folder().join("3c.json"));
}
#[test]
fn scenario_4a() {
perform_integration_test_from_json(folder().join("4a.json"));
}
#[should_panic]
#[test]
fn scenario_4c() {
perform_integration_test_from_json(folder().join("4c.json"));
}
#[test]
fn scenario_4d() {
perform_integration_test_from_json(folder().join("4d.json"));
}
#[test]
fn scenario_4e() {
perform_integration_test_from_json(folder().join("4e.json"));
}
#[test]
fn scenario_4f() {
perform_integration_test_from_json(folder().join("4f.json"));
}
#[test]
fn scenario_5b() {
perform_integration_test_from_json(folder().join("5b.json"));
}