#![cfg(test)] mod helpers; use helpers::run_mzn_test; macro_rules! mzn_optimization_test { ($name:ident) => { #[test] fn $name() { run_mzn_test::(stringify!($name), "mzn_optimization"); } }; } mzn_optimization_test!(constant_objective); mzn_optimization_test!(unfixed_objective);